Enum FTPCmd
- All Implemented Interfaces:
Serializable, Comparable<FTPCmd>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFTP command ABOR.FTP command ACCT.FTP command ALLO.FTP command APPE.FTP command CDUP.FTP command CWD.FTP command DELE.FTP command EPRT.FTP command EPSV.FTP command FEAT.FTP command HELP.FTP command LIST.FTP command MDTM.FTP command MFMT.FTP command MKD.FTP command MLSD.FTP command MLST.FTP command MODE.FTP command NLST.FTP command NOOP.FTP command OPTS.FTP command PASS.FTP command PASV.FTP command PORT.FTP command PWD.FTP command QUIT.FTP command REIN.FTP command REST.FTP command RETR.FTP command RMD.FTP command RNFR.FTP command RNTO.FTP command SITE.FTP command SIZE.FTP command SMNT.FTP command STAT.FTP command STOR.FTP command STOU.FTP command STRU.FTP command SYST.FTP command TYPE.FTP command USER. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias.static final FTPCmdAlias. -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the FTP protocol command string corresponding to a specified command code.static FTPCmdReturns 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
-
OPTS
-
PASS
-
PASV
-
PORT
-
PWD
-
QUIT
-
REIN
-
REST
-
RETR
-
RMD
-
RNFR
-
RNTO
-
SITE
-
SIZE
-
SMNT
-
STAT
-
STOR
-
STOU
-
STRU
-
SYST
-
TYPE
-
USER
-
-
Field Details
-
ABORT
-
ACCOUNT
-
ALLOCATE
-
APPEND
-
CHANGE_TO_PARENT_DIRECTORY
Alias. -
CHANGE_WORKING_DIRECTORY
Alias. -
DATA_PORT
-
DELETE
-
FEATURES
-
FILE_STRUCTURE
Alias. -
GET_MOD_TIME
Alias. -
LOGOUT
-
MAKE_DIRECTORY
Alias. -
MOD_TIME
-
NAME_LIST
-
PASSIVE
-
PASSWORD
-
PRINT_WORKING_DIRECTORY
Alias. -
REINITIALIZE
Alias. -
REMOVE_DIRECTORY
Alias. -
RENAME_FROM
Alias. -
RENAME_TO
-
REPRESENTATION_TYPE
Alias. -
RESTART
-
RETRIEVE
-
SET_MOD_TIME
Alias. -
SITE_PARAMETERS
Alias. -
STATUS
-
STORE
-
STORE_UNIQUE
Alias. -
STRUCTURE_MOUNT
Alias. -
SYSTEM
-
TRANSFER_MODE
Alias. -
USERNAME
-
-
Method Details
-
values
-
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.
-