You can pass the paths to the three files as command line arguments, read them in your main method then load the XML files. e.g.:
(Please note the above code is deliberately simplistic - you'll have to write the Handler, and think about what you do with regards to Exception handling and validation) [ January 30, 2006: Message edited by: Paul Sturrock ]
To actually run Paul's example from the command line, you would type
I don't know how Eclipse handles command-line arguments. You should search through the project options to see if you can figure out how to set them. If you don't find anything, ask your question in the IDE forum.
p.s. You might also want to modify Paul's example to take any number of command-line arguments. This way the user can specify 1 or 500, if they wish. Of course, this depends on whether or not this type of usage is meaningful for your program. [ January 30, 2006: Message edited by: Layne Lund ]