Class ParseState
java.lang.Object
net.sourceforge.argparse4j.internal.ParseState
-
Field Summary
FieldsModifier and TypeFieldDescriptionString[]
Array of arguments.boolean
True if special argument "--" is found and consumed.Deferred exception encountered while parsing.int
Index in args array, which points next argument to process.int
Index inargs
array, which points to the last argument read from file.boolean
True if negative number like flag is registered in the parser. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
args
Array of arguments. -
index
public int indexIndex in args array, which points next argument to process. -
lastFromFileArgIndex
public int lastFromFileArgIndexIndex inargs
array, which points to the last argument read from file. -1 means that no argument is read from file. If arguments are read from file recursively (e.g., argument file is found in argument file), this value is properly extended to point to the actual last argument by position. -
consumedSeparator
public boolean consumedSeparatorTrue if special argument "--" is found and consumed. -
negNumFlag
public boolean negNumFlagTrue if negative number like flag is registered in the parser. -
deferredException
Deferred exception encountered while parsing. This will be thrown after parsing completed and no other exception was thrown.
-
-
Constructor Details
-
ParseState
-