|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.oroinc.net.ftp.FTPReply
FTPReply stores a set of constants for FTP reply codes. To interpret the meaning of the codes, familiarity with RFC 959 is assumed. The mnemonic constant names are transcriptions from the code descriptions of RFC 959. For those who think in terms of the actual reply code values, a set of CODE_NUM constants are provided where NUM is the numerical value of the code.
Method Summary | |
static boolean |
isNegativePermanent(int reply)
Determine if a reply code is a negative permanent response. |
static boolean |
isNegativeTransient(int reply)
Determine if a reply code is a negative transient response. |
static boolean |
isPositiveCompletion(int reply)
Determine if a reply code is a positive completion response. |
static boolean |
isPositiveIntermediate(int reply)
Determine if a reply code is a positive intermediate response. |
static boolean |
isPositivePreliminary(int reply)
Determine if a reply code is a positive preliminary response. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int CODE_110
public static final int CODE_120
public static final int CODE_125
public static final int CODE_150
public static final int CODE_200
public static final int CODE_202
public static final int CODE_211
public static final int CODE_212
public static final int CODE_213
public static final int CODE_214
public static final int CODE_215
public static final int CODE_220
public static final int CODE_221
public static final int CODE_225
public static final int CODE_226
public static final int CODE_227
public static final int CODE_230
public static final int CODE_250
public static final int CODE_257
public static final int CODE_331
public static final int CODE_332
public static final int CODE_350
public static final int CODE_421
public static final int CODE_425
public static final int CODE_426
public static final int CODE_450
public static final int CODE_451
public static final int CODE_452
public static final int CODE_500
public static final int CODE_501
public static final int CODE_502
public static final int CODE_503
public static final int CODE_504
public static final int CODE_530
public static final int CODE_532
public static final int CODE_550
public static final int CODE_551
public static final int CODE_552
public static final int CODE_553
public static final int RESTART_MARKER
public static final int SERVICE_NOT_READY
public static final int DATA_CONNECTION_ALREADY_OPEN
public static final int FILE_STATUS_OK
public static final int COMMAND_OK
public static final int COMMAND_IS_SUPERFLUOUS
public static final int SYSTEM_STATUS
public static final int DIRECTORY_STATUS
public static final int FILE_STATUS
public static final int HELP_MESSAGE
public static final int NAME_SYSTEM_TYPE
public static final int SERVICE_READY
public static final int SERVICE_CLOSING_CONTROL_CONNECTION
public static final int DATA_CONNECTION_OPEN
public static final int CLOSING_DATA_CONNECTION
public static final int ENTERING_PASSIVE_MODE
public static final int USER_LOGGED_IN
public static final int FILE_ACTION_OK
public static final int PATHNAME_CREATED
public static final int NEED_PASSWORD
public static final int NEED_ACCOUNT
public static final int FILE_ACTION_PENDING
public static final int SERVICE_NOT_AVAILABLE
public static final int CANNOT_OPEN_DATA_CONNECTION
public static final int TRANSFER_ABORTED
public static final int FILE_ACTION_NOT_TAKEN
public static final int ACTION_ABORTED
public static final int INSUFFICIENT_STORAGE
public static final int UNRECOGNIZED_COMMAND
public static final int SYNTAX_ERROR_IN_ARGUMENTS
public static final int COMMAND_NOT_IMPLEMENTED
public static final int BAD_COMMAND_SEQUENCE
public static final int COMMAND_NOT_IMPLEMENTED_FOR_PARAMETER
public static final int NOT_LOGGED_IN
public static final int NEED_ACCOUNT_FOR_STORING_FILES
public static final int FILE_UNAVAILABLE
public static final int PAGE_TYPE_UNKNOWN
public static final int STORAGE_ALLOCATION_EXCEEDED
public static final int FILE_NAME_NOT_ALLOWED
Method Detail |
public static boolean isPositivePreliminary(int reply)
reply
- The reply code to test.public static boolean isPositiveCompletion(int reply)
reply
- The reply code to test.public static boolean isPositiveIntermediate(int reply)
reply
- The reply code to test.public static boolean isNegativeTransient(int reply)
reply
- The reply code to test.public static boolean isNegativePermanent(int reply)
reply
- The reply code to test.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |