Package org.apache.commons.net.ftp
Enum FTPCmd
- All Implemented Interfaces:
Serializable
,Comparable<FTPCmd>
,java.lang.constant.Constable
- Since:
- 3.3
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
static final FTPCmd
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
Retrieve the FTP protocol command string corresponding to a specified command code.static FTPCmd
Returns the enum constant of this type with the specified name.static FTPCmd[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ABOR
-
ACCT
-
ALLO
-
APPE
-
CDUP
-
CWD
-
DELE
-
EPRT
-
EPSV
-
FEAT
-
HELP
-
LIST
-
MDTM
-
MFMT
-
MKD
-
MLSD
-
MLST
-
MODE
-
NLST
-
NOOP
-
PASS
-
PASV
-
PORT
-
PWD
-
QUIT
-
REIN
-
REST
-
RETR
-
RMD
-
RNFR
-
RNTO
-
SITE
-
SIZE
- Since:
- 3.7
-
SMNT
-
STAT
-
STOR
-
STOU
-
STRU
-
SYST
-
TYPE
-
USER
-
-
Field Details
-
ABORT
-
ACCOUNT
-
ALLOCATE
-
APPEND
-
CHANGE_TO_PARENT_DIRECTORY
-
CHANGE_WORKING_DIRECTORY
-
DATA_PORT
-
DELETE
-
FEATURES
-
FILE_STRUCTURE
-
GET_MOD_TIME
-
LOGOUT
-
MAKE_DIRECTORY
-
MOD_TIME
-
NAME_LIST
-
PASSIVE
-
PASSWORD
-
PRINT_WORKING_DIRECTORY
-
REINITIALIZE
-
REMOVE_DIRECTORY
-
RENAME_FROM
-
RENAME_TO
-
REPRESENTATION_TYPE
-
RESTART
-
RETRIEVE
-
SET_MOD_TIME
-
SITE_PARAMETERS
-
STATUS
-
STORE
-
STORE_UNIQUE
-
STRUCTURE_MOUNT
-
SYSTEM
-
TRANSFER_MODE
-
USERNAME
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCommand
Retrieve the FTP protocol command string corresponding to a specified command code.- Returns:
- The FTP protcol command string corresponding to a specified command code.
-