Running file/program from within java program


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Running file/program from within java program

  1. #1
    Join Date
    Nov 2006
    Posts
    13

    Running file/program from within java program

    Hey,
    Was just wondering if anyone could help me.
    I have a program that uses xerces xml parser to extract content from an xml file and that works fine.
    I want to do the same with a HTML file. I have HTML Parser and it has a little run file thing in its bin folder called "stringextractor" which runs fine when i access it using command line.(All you do is go into the bin folder and type stringextractor [page you want processed]). But id like to be ble to run that file from within my java program.

    Is there anyway to do that. Like for example to read a text file in you use buffered reader, is there an equivalent for program files?

    Thanks, Kate

  2. #2
    Join Date
    Mar 2004
    Posts
    78

Similar Threads

  1. Java book
    By Lou in forum Java
    Replies: 9
    Last Post: 09-19-2007, 05:58 AM
  2. Replies: 0
    Last Post: 11-24-2006, 07:11 AM
  3. Turning This Program into A JAVA GUI
    By NAN47 in forum Java
    Replies: 2
    Last Post: 04-06-2006, 11:31 PM
  4. Replies: 0
    Last Post: 11-19-2001, 12:11 AM
  5. Replies: 0
    Last Post: 11-13-2001, 08:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center