com.planet_ink.coffee_mud.Commands
Enum Shell.SubCmds
java.lang.Object
java.lang.Enum<Shell.SubCmds>
com.planet_ink.coffee_mud.Commands.Shell.SubCmds
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Shell.SubCmds>
- Enclosing class:
- Shell
protected static enum Shell.SubCmds
- extends java.lang.Enum<Shell.SubCmds>
Field Summary |
java.lang.String |
c
|
java.lang.String[] |
rest
|
Method Summary |
static Shell.SubCmds |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Shell.SubCmds[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
DIRECTORY
public static final Shell.SubCmds DIRECTORY
COPY
public static final Shell.SubCmds COPY
CHANGEDIRECTORY
public static final Shell.SubCmds CHANGEDIRECTORY
DELETE
public static final Shell.SubCmds DELETE
TYPE
public static final Shell.SubCmds TYPE
MAKEDIRECTORY
public static final Shell.SubCmds MAKEDIRECTORY
FINDFILE
public static final Shell.SubCmds FINDFILE
SEARCHTEXT
public static final Shell.SubCmds SEARCHTEXT
EDIT
public static final Shell.SubCmds EDIT
MOVE
public static final Shell.SubCmds MOVE
COMPAREFILES
public static final Shell.SubCmds COMPAREFILES
c
public java.lang.String c
rest
public java.lang.String[] rest
values
public static Shell.SubCmds[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Shell.SubCmds c : Shell.SubCmds.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Shell.SubCmds valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null