|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<AbstractRemoteFileOutboundGateway.Option> org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway.Option
public static enum AbstractRemoteFileOutboundGateway.Option
Enumeration of options supported by various commands.
Enum Constant Summary | |
---|---|
ALL
Include 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). |
|
SUBDIRS
Include directories in the results (ls). |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AbstractRemoteFileOutboundGateway.Option NAME_ONLY
public static final AbstractRemoteFileOutboundGateway.Option ALL
.
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
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getOption()
public static AbstractRemoteFileOutboundGateway.Option toOption(java.lang.String opt)
|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |