protected static enum ProcessIOParser.Parser.Input extends Enum<ProcessIOParser.Parser.Input>
Enum Constant and Description |
---|
CR
CR character, beginning of CRLF sequence.
|
LF
LF Character.
|
PROMPT
Separator character.
|
STRING
Content of user, password hash or tool strings.
|
Modifier and Type | Field and Description |
---|---|
protected static int |
length
Enumeration length.
|
Modifier and Type | Method and Description |
---|---|
protected static ProcessIOParser.Parser.Input |
value(char c,
String prompt,
CyclicStringBuffer promptBuff)
Get input class value for provided character.
|
static ProcessIOParser.Parser.Input |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessIOParser.Parser.Input[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessIOParser.Parser.Input STRING
public static final ProcessIOParser.Parser.Input PROMPT
public static final ProcessIOParser.Parser.Input CR
public static final ProcessIOParser.Parser.Input LF
public static ProcessIOParser.Parser.Input[] values()
for (ProcessIOParser.Parser.Input c : ProcessIOParser.Parser.Input.values()) System.out.println(c);
public static ProcessIOParser.Parser.Input valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullprotected static ProcessIOParser.Parser.Input value(char c, String prompt, CyclicStringBuffer promptBuff)
c
- Character to check tor input class.Copyright © 2013. All Rights Reserved.