| Modifier and Type | Field and Description |
|---|---|
| private char | |
| private int | |
| private int | |
| private String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | checkEnd()
Check that we are at the end of the string: that the rest of the characters, if any, are blanks. |
| pack-priv char | Returns: the separator between the last parsed integer and the next integer, 0 if the parser is at the end of the string.
|
| pack-priv char | |
| pack-priv int | Returns: An index in choices.An array of strings. choices)Determine if the next characters are one of a choice of strings. |
| pack-priv int | Returns: the integer.the maximum number of digits maxDigits, boolean If true then leading zeroes may be ommitted. If false then the integer must be
exactly ndigits long. truncationAllowed, char[] The separator at the end of the integer. If zero then the integer must be at the end of the string
but may be followed by spaces. separator, boolean If true then the returned integer will be multiplied by 10**(maxDigits - actualDigitCount) isFraction)Parse the next integer. |
| private void |
| currentSeparator | back to summary |
|---|---|
| private char currentSeparator | |
| fieldStart | back to summary |
|---|---|
| private int fieldStart | |
| len | back to summary |
|---|---|
| private int len | |
| str | back to summary |
|---|---|
| private String str | |
| DateTimeParser | back to summary |
|---|---|
| pack-priv DateTimeParser(String str) | |
| checkEnd | back to summary |
|---|---|
| pack-priv void checkEnd() throws StandardException Check that we are at the end of the string: that the rest of the characters, if any, are blanks.
| |
| getCurrentSeparator | back to summary |
|---|---|
pack-priv char getCurrentSeparator()
| |
| nextSeparator | back to summary |
|---|---|
pack-priv char nextSeparator()
| |
| parseChoice | back to summary |
|---|---|
| pack-priv int parseChoice(String[] choices) throws StandardException Determine if the next characters are one of a choice of strings.
| |
| parseInt | back to summary |
|---|---|
| pack-priv int parseInt(int maxDigits, boolean truncationAllowed, char[] separator, boolean isFraction) throws StandardException Parse the next integer.
| |
| updateCurrentSeparator | back to summary |
|---|---|
| private void updateCurrentSeparator() | |