public enum DataType extends Enum<DataType>
| Enum Constant and Description |
|---|
ASCII
ASCII data type
|
BINARY
Binary data type
|
| Modifier and Type | Method and Description |
|---|---|
static DataType |
parseArgument(char argument)
Parses the argument value from the TYPE command into the type safe class
|
static DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataType BINARY
public static final DataType ASCII
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType 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 nullpublic static DataType parseArgument(char argument)
argument - The argument value from the TYPE command. Not case sensitiveIllegalArgumentException - If the data type is unknownCopyright © 2003–2022 The Apache Software Foundation. All rights reserved.