|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ftpserver.ftplet.Structure
public class Structure
Type safe enum for describing the structure
Field Summary | |
---|---|
static Structure |
FILE
File structure |
Method Summary | |
---|---|
static Structure |
parseArgument(char argument)
Parses the argument value from the STRU command into the type safe class |
java.lang.String |
toString()
String representation of the structure. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Structure FILE
Method Detail |
---|
public static Structure parseArgument(char argument)
argument
- The argument value from the STRU command.
Not case sensitive
java.lang.IllegalArgumentException
- If the structure 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 |