DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  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

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links