-
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
-
Similar Threads
-
Replies: 9
Last Post: 09-19-2007, 05:58 AM
-
By balaji krishna in forum Database
Replies: 0
Last Post: 11-24-2006, 07:11 AM
-
Replies: 2
Last Post: 04-06-2006, 11:31 PM
-
By Kyle Gabhart in forum Java
Replies: 0
Last Post: 11-19-2001, 12:11 AM
-
By Steven Anderson in forum Java
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
Forum Rules
|
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
|
Bookmarks