Enum Command

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Command>

    public enum Command
    extends java.lang.Enum<Command>
    Commands.
    Since:
    1.0
    • 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 name
        java.lang.NullPointerException - if the argument is null