posted 19 years ago
I've got some classes that I need to be able to run in various fashions (command line, Automize tool, who-knows-what-in-the-future). I'm going to extend off of an abstract class that will set values based on command line parameters:
java.exe com.acme.myclass -file stuff.txt -date 05/12/2004
will call setFile(stuff.txt) and setDate(05/12/2004).
Rather than spending the afternoon writing this, I was wondering if there was any source around that would do this. If there is, I'm sure it's got features that would be useful, that I hadn't considered yet.
Rick DeBay