org.apache.tools.ant.taskdefs.optional.net

Class FTP.Action

public static class FTP.Action extends EnumeratedAttribute

an action to perform, one of "send", "put", "recv", "get", "del", "delete", "list", "mkdir", "chmod", "rmdir"
Method Summary
intgetAction()
Get the symbolic equivalent of the action value.
String[]getValues()
Get the valid values

Method Detail

getAction

public int getAction()
Get the symbolic equivalent of the action value.

Returns: the SYMBOL representing the given action.

getValues

public String[] getValues()
Get the valid values

Returns: an array of the valid FTP actions.