public enum FTPCmd extends Enum<FTPCmd>
Enum Constant and Description |
---|
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 |
SMNT |
STAT |
STOR |
STOU |
STRU |
SYST |
TYPE |
USER |
Modifier and Type | Field and Description |
---|---|
static FTPCmd |
ABORT |
static FTPCmd |
ACCOUNT |
static FTPCmd |
ALLOCATE |
static FTPCmd |
APPEND |
static FTPCmd |
CHANGE_TO_PARENT_DIRECTORY |
static FTPCmd |
CHANGE_WORKING_DIRECTORY |
static FTPCmd |
DATA_PORT |
static FTPCmd |
DELETE |
static FTPCmd |
FEATURES |
static FTPCmd |
FILE_STRUCTURE |
static FTPCmd |
GET_MOD_TIME |
static FTPCmd |
LOGOUT |
static FTPCmd |
MAKE_DIRECTORY |
static FTPCmd |
MOD_TIME |
static FTPCmd |
NAME_LIST |
static FTPCmd |
PASSIVE |
static FTPCmd |
PASSWORD |
static FTPCmd |
PRINT_WORKING_DIRECTORY |
static FTPCmd |
REINITIALIZE |
static FTPCmd |
REMOVE_DIRECTORY |
static FTPCmd |
RENAME_FROM |
static FTPCmd |
RENAME_TO |
static FTPCmd |
REPRESENTATION_TYPE |
static FTPCmd |
RESTART |
static FTPCmd |
RETRIEVE |
static FTPCmd |
SET_MOD_TIME |
static FTPCmd |
SITE_PARAMETERS |
static FTPCmd |
STATUS |
static FTPCmd |
STORE |
static FTPCmd |
STORE_UNIQUE |
static FTPCmd |
STRUCTURE_MOUNT |
static FTPCmd |
SYSTEM |
static FTPCmd |
TRANSFER_MODE |
static FTPCmd |
USERNAME |
Modifier and Type | Method and Description |
---|---|
String |
getCommand()
Retrieve the FTP protocol command string corresponding to a specified
command code.
|
static FTPCmd |
valueOf(String name)
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.
|
public static final FTPCmd ABOR
public static final FTPCmd ACCT
public static final FTPCmd ALLO
public static final FTPCmd APPE
public static final FTPCmd CDUP
public static final FTPCmd CWD
public static final FTPCmd DELE
public static final FTPCmd EPRT
public static final FTPCmd EPSV
public static final FTPCmd FEAT
public static final FTPCmd HELP
public static final FTPCmd LIST
public static final FTPCmd MDTM
public static final FTPCmd MFMT
public static final FTPCmd MKD
public static final FTPCmd MLSD
public static final FTPCmd MLST
public static final FTPCmd MODE
public static final FTPCmd NLST
public static final FTPCmd NOOP
public static final FTPCmd PASS
public static final FTPCmd PASV
public static final FTPCmd PORT
public static final FTPCmd PWD
public static final FTPCmd QUIT
public static final FTPCmd REIN
public static final FTPCmd REST
public static final FTPCmd RETR
public static final FTPCmd RMD
public static final FTPCmd RNFR
public static final FTPCmd RNTO
public static final FTPCmd SITE
public static final FTPCmd SMNT
public static final FTPCmd STAT
public static final FTPCmd STOR
public static final FTPCmd STOU
public static final FTPCmd STRU
public static final FTPCmd SYST
public static final FTPCmd TYPE
public static final FTPCmd USER
public static final FTPCmd ABORT
public static final FTPCmd ACCOUNT
public static final FTPCmd ALLOCATE
public static final FTPCmd APPEND
public static final FTPCmd CHANGE_TO_PARENT_DIRECTORY
public static final FTPCmd CHANGE_WORKING_DIRECTORY
public static final FTPCmd DATA_PORT
public static final FTPCmd DELETE
public static final FTPCmd FEATURES
public static final FTPCmd FILE_STRUCTURE
public static final FTPCmd GET_MOD_TIME
public static final FTPCmd LOGOUT
public static final FTPCmd MAKE_DIRECTORY
public static final FTPCmd MOD_TIME
public static final FTPCmd NAME_LIST
public static final FTPCmd PASSIVE
public static final FTPCmd PASSWORD
public static final FTPCmd PRINT_WORKING_DIRECTORY
public static final FTPCmd REINITIALIZE
public static final FTPCmd REMOVE_DIRECTORY
public static final FTPCmd RENAME_FROM
public static final FTPCmd RENAME_TO
public static final FTPCmd REPRESENTATION_TYPE
public static final FTPCmd RESTART
public static final FTPCmd RETRIEVE
public static final FTPCmd SET_MOD_TIME
public static final FTPCmd SITE_PARAMETERS
public static final FTPCmd STATUS
public static final FTPCmd STORE
public static final FTPCmd STORE_UNIQUE
public static final FTPCmd STRUCTURE_MOUNT
public static final FTPCmd SYSTEM
public static final FTPCmd TRANSFER_MODE
public static final FTPCmd USERNAME
public static FTPCmd[] values()
for (FTPCmd c : FTPCmd.values()) System.out.println(c);
public static FTPCmd 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 nullpublic final String getCommand()
Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.