public enum FtpFileType extends java.lang.Enum<FtpFileType>
Enum Constant and Description |
---|
ASCII
The ASCII file type.
|
BINARY
The binary file type.
|
EBCDIC
The EBCDIC file type.
|
LOCAL
The local file type.
|
Modifier and Type | Field and Description |
---|---|
private int |
value
The Apache Commons Net FTP file type.
|
Modifier and Type | Method and Description |
---|---|
(package private) int |
getValue()
Gets the Apache Commons Net FTP file type.
|
static FtpFileType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FtpFileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FtpFileType ASCII
public static final FtpFileType BINARY
public static final FtpFileType LOCAL
public static final FtpFileType EBCDIC
public static FtpFileType[] values()
for (FtpFileType c : FtpFileType.values()) System.out.println(c);
public static FtpFileType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullint getValue()