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 CHANGE_TO_PARENT_DIRECTORY
public static final FTPCmd CHANGE_WORKING_DIRECTORY
public static final FTPCmd FILE_STRUCTURE
public static final FTPCmd GET_MOD_TIME
public static final FTPCmd MAKE_DIRECTORY
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 REPRESENTATION_TYPE
public static final FTPCmd SET_MOD_TIME
public static final FTPCmd SITE_PARAMETERS
public static final FTPCmd STORE_UNIQUE
public static final FTPCmd STRUCTURE_MOUNT
public static final FTPCmd TRANSFER_MODE
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.