Class FTPTask.Action

  • Enclosing class:
    FTPTask

    public static class FTPTask.Action
    extends EnumeratedAttribute
    an action to perform, one of "send", "put", "recv", "get", "del", "delete", "list", "mkdir", "chmod", "rmdir"
    • Constructor Detail

      • Action

        public Action()
    • Method Detail

      • getValues

        public java.lang.String[] getValues()
        Get the valid values
        Specified by:
        getValues in class EnumeratedAttribute
        Returns:
        an array of the valid FTP actions.
      • getAction

        public int getAction()
        Get the symbolic equivalent of the action value.
        Returns:
        the SYMBOL representing the given action.