• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

how to open a file using Process ??

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

i want to open an .html file using process class ??

how do i do that ...a little example will be appreciated

tx
AA
 
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think we need more information. Open an HTML file to do what with it? Read it? Parse it? Display it? Edit it? And why should the Process class have anything to do with it? I'm sure we could use the Runtime exec() method to create a Process that could do any number of things to an HTML file by invoking a non-Java executable, but I doubt that's what you want in most cases.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!