Package org.apache.commons.cli.avalon
Class AbstractParserControl
java.lang.Object
org.apache.commons.cli.avalon.AbstractParserControl
- All Implemented Interfaces:
ParserControl
Class to inherit from so when in future when new controls are added clients
will no have to implement them.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isFinished
(int lastOptionCode) By default always continue parsing by returning false.
-
Constructor Details
-
AbstractParserControl
public AbstractParserControl()
-
-
Method Details
-
isFinished
public boolean isFinished(int lastOptionCode) By default always continue parsing by returning false.- Specified by:
isFinished
in interfaceParserControl
- Parameters:
lastOptionCode
- the code of last option parsed- Returns:
- return true to halt, false to continue parsing
- See Also:
-