|
KindFTP © 1998-2001 Joseph Kiniry © 2001 KindSoftware All Rights Reserved |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--kindftp.ReplyCodes
Reply codes for debugging purposes.
The codes' English interpretations are stored in a hashtable for lookup using convertCode. They are taken directory from RFC959.
| Constructor Summary | |
ReplyCodes()
|
|
| Method Summary | |
static java.lang.String |
convertCode(int code)
Convert the numeric FTP code specified in the parameter code to a English description, taken from RFC959. |
static boolean |
isStandardError_500_501_502_421_530(int code)
|
static boolean |
isStandardError_500_501_502_421(int code)
|
static boolean |
isStandardError_500_501_504_421_530(int code)
|
| Methods inherited from class java.util.Hashtable |
clear,
clone,
contains,
containsKey,
containsValue,
elements,
entrySet,
equals,
get,
hashCode,
isEmpty,
keys,
keySet,
put,
putAll,
rehash,
remove,
size,
toString,
values |
| Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public static final int POSITIVE_PRELIMINARY
First-digit encoding of reply values. See RFC959 for more information.
public static final int POSITIVE_COMPLETION
public static final int POSITIVE_INTERMEDIATE
public static final int TRANSIENT_NEGATIVE_COMPLETION
public static final int PERMANENT_NEGATIVE_COMPLETION
public static final int SYNTAX
Second-digit encoding of reply values. See RFC959 for more information.
public static final int INFORMATION
public static final int CONNECTIONS
public static final int AUTHENTICATION_AND_ACCOUNTING
public static final int UNSPECIFIED
public static final int FILE_SYSTEM
public static final int RESTART_MARKER_REPLY
100 block of reply codes. See RFC959 for more information.
public static final int SERVICE_READY_IN_NNN_MINUTES
public static final int DATA_CONNECTION_ALREADY_OPEN_TRANFER_STARTING
public static final int FILE_STATUS_OK_ABOUT_TO_OPEN_DATA_CONNECTION
public static final int COMMAND_OK
200 block of reply codes. See RFC959 for more information.
public static final int COMMAND_NOT_IMPLEMENTED_SUPERFLUOUS
public static final int STATUS_OR_HELP_REPLY
public static final int DIRECTORY_STATUS
public static final int FILE_STATUS
public static final int HELP_MESSAGE
public static final int SYSTEM_TYPE
public static final int SERVICE_READY_FOR_NEW_USER
public static final int SERVICE_CLOSING_CONTROL_CONNECTION
public static final int DATA_CONNECTION_OPEN_NO_TRANSFER_IN_PROGRESS
public static final int CLOSING_DATA_CONNECTION_AFTER_SUCCESSFUL_ACTION
public static final int ENTERING_PASSIVE_MODE
public static final int USER_LOGGED_IN
public static final int FILE_ACTION_OK_AND_COMPLETED
public static final int DIRECTORY_CREATED
public static final int USER_NAME_OK
300 block of reply codes. See RFC959 for more information.
public static final int NEED_ACCOUNT_FOR_LOGIN
public static final int REQUESTED_ACTION_PENDING_MORE_INFO
public static final int SERVICE_NOT_AVAILABLE_CLOSING_CONTROL_CONNECTION
400 block of reply codes. See RFC959 for more information.
public static final int CANNOT_OPEN_DATA_CONNECTION
public static final int CONNECTION_CLOSED_TRANSFER_ABORTED
public static final int ACTION_NOT_TAKEN_FILE_UNAVAILABLE_FILE_BUSY
public static final int ACTION_ABORTED_LOCAL_ERROR
public static final int ACTION_NOT_TAKEN_INSUFFICIENT_STORAGE_SPACE
public static final int SYNTAX_ERROR_IN_COMMAND
500 block of reply codes. See RFC959 for more information.
public static final int SYNTAX_ERROR_IN_PARAMETERS
public static final int COMMAND_NOT_IMPLEMENTED
public static final int BAD_SEQUENCE_OF_COMMANDS
public static final int COMMAND_NOT_IMPLEMENTED_FOR_THAT_PARAMETER
public static final int NOT_LOGGED_IN
public static final int NEED_ACCOUNT
public static final int ACTION_NOT_TAKEN_FILE_UNAVAILABLE
public static final int ACTION_ABORTED_PAGE_TYPE_UNKNOWN
public static final int ACTION_ABORTED_EXCEEDED_STORAGE_ALLOCATION
public static final int ACTION_NOT_TAKEN_FILE_NAME_NOT_ALLOWED
public static final int[] standardErrors0
Collections of oft-used errors for postcondition checks.
public static final int[] standardErrors1
public static final int[] standardErrors2
| Constructor Detail |
public ReplyCodes()
| Method Detail |
public static java.lang.String convertCode(int code)
Convert the numeric FTP code specified in the parameter
code to a English description, taken from RFC959.
code - the code to convert.public static boolean isStandardError_500_501_502_421(int code)
public static boolean isStandardError_500_501_502_421_530(int code)
public static boolean isStandardError_500_501_504_421_530(int code)
|
KindFTP © 1998-2001 Joseph Kiniry © 2001 KindSoftware All Rights Reserved |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||