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