public static enum AbstractRemoteFileOutboundGateway.Option extends java.lang.Enum<AbstractRemoteFileOutboundGateway.Option>
Enum Constant and Description |
---|
ALL
Include files beginning with
. , including directories . and .. in the results (ls). |
EXCEPTION_WHEN_EMPTY
Throw an exception if no files returned (mget).
|
LINKS
Include links in the results (ls).
|
NAME_ONLY
Don't return full file information; just the name (ls).
|
NOSORT
Do not sort the results (ls with NAME_ONLY).
|
PRESERVE_TIMESTAMP
Preserve the server timestamp (get, mget).
|
RECURSIVE
Recursive (ls, mget)
|
SUBDIRS
Include directories in the results (ls).
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOption() |
static AbstractRemoteFileOutboundGateway.Option |
toOption(java.lang.String opt) |
static AbstractRemoteFileOutboundGateway.Option |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractRemoteFileOutboundGateway.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractRemoteFileOutboundGateway.Option NAME_ONLY
public static final AbstractRemoteFileOutboundGateway.Option ALL
.
, including directories .
and ..
in the results (ls).public static final AbstractRemoteFileOutboundGateway.Option NOSORT
public static final AbstractRemoteFileOutboundGateway.Option SUBDIRS
public static final AbstractRemoteFileOutboundGateway.Option LINKS
public static final AbstractRemoteFileOutboundGateway.Option PRESERVE_TIMESTAMP
public static final AbstractRemoteFileOutboundGateway.Option EXCEPTION_WHEN_EMPTY
public static final AbstractRemoteFileOutboundGateway.Option RECURSIVE
public static AbstractRemoteFileOutboundGateway.Option[] values()
for (AbstractRemoteFileOutboundGateway.Option c : AbstractRemoteFileOutboundGateway.Option.values()) System.out.println(c);
public static AbstractRemoteFileOutboundGateway.Option valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getOption()
public static AbstractRemoteFileOutboundGateway.Option toOption(java.lang.String opt)