org.cyclopsgroup.jcli.jline
Class ArgumentsInspector
java.lang.Object
org.cyclopsgroup.jcli.jline.ArgumentsInspector
class ArgumentsInspector
- extends Object
Class that consumes arguments
- Author:
- Jiaqi Guo
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArgumentsInspector
ArgumentsInspector(ParsingContext context)
- Parameters:
context - Parsing context
consume
void consume(String argument)
- Parameters:
argument - Argument to consume
end
void end()
- End the process
getCurrentOption
Option getCurrentOption()
- Returns:
- The option being processed currently
getCurrentValue
String getCurrentValue()
- Returns:
- Current value
getRemainingOptions
Set<Option> getRemainingOptions()
- Returns:
- Set of remaining options
getState
ArgumentsInspectorState getState()
- Returns:
- Current parsing state
Copyright © 2008-2010. All Rights Reserved.