public class ExtendedPosixParser
extends org.apache.commons.cli.PosixParser
Constructor and Description |
---|
ExtendedPosixParser(boolean ignoreUnrecognizedOption)
Extend constructor to accept ignore option.
|
Modifier and Type | Method and Description |
---|---|
protected void |
processOption(String arg,
ListIterator iter)
Given an argument string and an iterator, try to process the option, respecting the
ignoreUnrecognizedOption flag.
|
public ExtendedPosixParser(boolean ignoreUnrecognizedOption)
ignoreUnrecognizedOption
- when true, silently ignore unrecognized optionsprotected void processOption(String arg, ListIterator iter) throws org.apache.commons.cli.ParseException
processOption
in class org.apache.commons.cli.Parser
arg
- the argument to processiter
- the iterator for the super class to deal withorg.apache.commons.cli.ParseException
- on any problemsCopyright © 2015–2019. All rights reserved.