|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.umd.cfar.lamp.apploader.prefs.OptionsManager
Manages command-line arguments.
| Constructor Summary | |
OptionsManager()
Constructs a new, empty options manager. |
|
| Method Summary | |
void |
addTrigger(com.hp.hpl.jena.rdf.model.Resource trigger)
Loads the three maps with trigger functor by name. |
PrefsManager |
getPrefs()
|
void |
invokePropertyTriggers()
Apply all the bound triggers to any matching system properties. |
void |
parseArgumentList(java.lang.String[] args)
Parses the given command line arguments and invokes the corresponding triggers. |
void |
printUsage()
Prints the command line usage to the system error stream. |
void |
printUsage(int lod)
Prints usage to the given level of detail, a non-negative integer. |
void |
removeTrigger(com.hp.hpl.jena.rdf.model.Resource trigger)
Removes the specified trigger. |
void |
setPrefs(PrefsManager manager)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OptionsManager()
| Method Detail |
public void invokePropertyTriggers()
public void parseArgumentList(java.lang.String[] args)
throws ArgumentException
args - the command line arguments
ArgumentException
public void printUsage()
throws PreferenceException
PreferenceException
public void printUsage(int lod)
throws PreferenceException
lod -
PreferenceException
public void addTrigger(com.hp.hpl.jena.rdf.model.Resource trigger)
throws PreferenceException
trigger - the trigger to add
PreferenceException - if the trigger has no name
public void removeTrigger(com.hp.hpl.jena.rdf.model.Resource trigger)
throws PreferenceException
trigger - the trigger to remove
PreferenceException - if the trigger wasn't foundpublic PrefsManager getPrefs()
public void setPrefs(PrefsManager manager)
manager -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||