public enum FtpFileType extends 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 | Method and Description |
---|---|
static FtpFileType |
valueOf(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(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 nullCopyright © 2002–2020 The Apache Software Foundation. All rights reserved.