|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ftpserver.ftplet.DataType
public class DataType
Type safe enum for describing the data type
Field Summary | |
---|---|
static DataType |
ASCII
ASCII data type |
static DataType |
BINARY
Binary data type |
Method Summary | |
---|---|
static DataType |
parseArgument(char argument)
Parses the argument value from the TYPE command into the type safe class |
java.lang.String |
toString()
Return the data type string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final DataType BINARY
public static final DataType ASCII
Method Detail |
---|
public static DataType parseArgument(char argument)
argument
- The argument value from the TYPE command.
Not case sensitive
java.lang.IllegalArgumentException
- If the data type is unknownpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |