Enum Command
- java.lang.Object
-
- java.lang.Enum<Command>
-
- io.github.henryssondaniel.teacup.protocol.ftp.client.Command
-
-
Field Summary
Fields Modifier and Type Field Description static Command
ABORT
static Command
ACCOUNT
static Command
ALLOCATE
static Command
APPEND
static Command
CHANGE_TO_PARENT_DIRECTORY
static Command
CHANGE_WORKING_DIRECTORY
static Command
DATA_PORT
static Command
DELETE
static Command
FEATURES
static Command
FILE_STRUCTURE
static Command
GET_MOD_TIME
static Command
LOGOUT
static Command
MAKE_DIRECTORY
static Command
MOD_TIME
static Command
NAME_LIST
static Command
PASSIVE
static Command
PASSWORD
static Command
PRINT_WORKING_DIRECTORY
static Command
REINITIALIZE
static Command
REMOVE_DIRECTORY
static Command
RENAME_FROM
static Command
RENAME_TO
static Command
REPRESENTATION_TYPE
static Command
RESTART
static Command
RETRIEVE
static Command
SET_MOD_TIME
static Command
SITE_PARAMETERS
static Command
STATUS
static Command
STORE
static Command
STORE_UNIQUE
static Command
STRUCTURE_MOUNT
static Command
SYSTEM
static Command
TRANSFER_MODE
static Command
USERNAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Command
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Command[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABOR
public static final Command ABOR
-
ACCT
public static final Command ACCT
-
ALLO
public static final Command ALLO
-
APPE
public static final Command APPE
-
CDUP
public static final Command CDUP
-
CWD
public static final Command CWD
-
DELE
public static final Command DELE
-
EPRT
public static final Command EPRT
-
EPSV
public static final Command EPSV
-
FEAT
public static final Command FEAT
-
HELP
public static final Command HELP
-
LIST
public static final Command LIST
-
MDTM
public static final Command MDTM
-
MFMT
public static final Command MFMT
-
MKD
public static final Command MKD
-
MLSD
public static final Command MLSD
-
MLST
public static final Command MLST
-
MODE
public static final Command MODE
-
NLST
public static final Command NLST
-
NOOP
public static final Command NOOP
-
PASS
public static final Command PASS
-
PASV
public static final Command PASV
-
PORT
public static final Command PORT
-
PWD
public static final Command PWD
-
QUIT
public static final Command QUIT
-
REIN
public static final Command REIN
-
REST
public static final Command REST
-
RETR
public static final Command RETR
-
RMD
public static final Command RMD
-
RNFR
public static final Command RNFR
-
RNTO
public static final Command RNTO
-
SITE
public static final Command SITE
-
SMNT
public static final Command SMNT
-
STAT
public static final Command STAT
-
STOR
public static final Command STOR
-
STOU
public static final Command STOU
-
STRU
public static final Command STRU
-
SYST
public static final Command SYST
-
TYPE
public static final Command TYPE
-
USER
public static final Command USER
-
-
Field Detail
-
ABORT
public static final Command ABORT
-
ACCOUNT
public static final Command ACCOUNT
-
ALLOCATE
public static final Command ALLOCATE
-
APPEND
public static final Command APPEND
-
CHANGE_TO_PARENT_DIRECTORY
public static final Command CHANGE_TO_PARENT_DIRECTORY
-
CHANGE_WORKING_DIRECTORY
public static final Command CHANGE_WORKING_DIRECTORY
-
DATA_PORT
public static final Command DATA_PORT
-
DELETE
public static final Command DELETE
-
FEATURES
public static final Command FEATURES
-
FILE_STRUCTURE
public static final Command FILE_STRUCTURE
-
GET_MOD_TIME
public static final Command GET_MOD_TIME
-
LOGOUT
public static final Command LOGOUT
-
MAKE_DIRECTORY
public static final Command MAKE_DIRECTORY
-
MOD_TIME
public static final Command MOD_TIME
-
NAME_LIST
public static final Command NAME_LIST
-
PASSIVE
public static final Command PASSIVE
-
PASSWORD
public static final Command PASSWORD
-
PRINT_WORKING_DIRECTORY
public static final Command PRINT_WORKING_DIRECTORY
-
REINITIALIZE
public static final Command REINITIALIZE
-
REMOVE_DIRECTORY
public static final Command REMOVE_DIRECTORY
-
RENAME_FROM
public static final Command RENAME_FROM
-
RENAME_TO
public static final Command RENAME_TO
-
REPRESENTATION_TYPE
public static final Command REPRESENTATION_TYPE
-
RESTART
public static final Command RESTART
-
RETRIEVE
public static final Command RETRIEVE
-
SET_MOD_TIME
public static final Command SET_MOD_TIME
-
SITE_PARAMETERS
public static final Command SITE_PARAMETERS
-
STATUS
public static final Command STATUS
-
STORE
public static final Command STORE
-
STORE_UNIQUE
public static final Command STORE_UNIQUE
-
STRUCTURE_MOUNT
public static final Command STRUCTURE_MOUNT
-
SYSTEM
public static final Command SYSTEM
-
TRANSFER_MODE
public static final Command TRANSFER_MODE
-
USERNAME
public static final Command USERNAME
-
-
Method Detail
-
values
public static Command[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Command c : Command.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Command valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-