public class ParseState extends Object
Modifier and Type | Field and Description |
---|---|
String[] |
args
Array of arguments.
|
boolean |
consumedSeparator
True if special argument "--" is found and consumed.
|
ArgumentParserException |
deferredException
Deferred exception encountered while parsing.
|
int |
index
Index in args array, which points next argument to process.
|
int |
lastFromFileArgIndex
Index in
args array, which points to the last argument read from
file. |
boolean |
negNumFlag
True if negative number like flag is registered in the parser.
|
Constructor and Description |
---|
ParseState(String[] args,
int index,
boolean negNumFlag) |
public String[] args
public int index
public int lastFromFileArgIndex
args
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.public boolean consumedSeparator
public boolean negNumFlag
public ArgumentParserException deferredException
public ParseState(String[] args, int index, boolean negNumFlag)
Copyright © 2012–2018. All rights reserved.