Package org.apache.commons.cli.avalon
Class AbstractParserControl
-
- All Implemented Interfaces:
-
org.apache.commons.cli.avalon.ParserControl
public abstract class AbstractParserControl implements ParserControl
Class to inherit from so when in future when new controls are added clients will no have to implement them.
-
-
Constructor Summary
Constructors Constructor Description AbstractParserControl()
-
Method Summary
Modifier and Type Method Description booleanisFinished(int lastOptionCode)By default always continue parsing by returning false. -
-
Method Detail
-
isFinished
boolean isFinished(int lastOptionCode)
By default always continue parsing by returning false.
- Parameters:
lastOptionCode- the code of last option parsed- Returns:
return true to halt, false to continue parsing
-
-
-
-