| 
Spring Integration | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<FileExistsMode>
org.springframework.integration.file.support.FileExistsMode
public enum FileExistsMode
When writing file, this enumeration indicates what action shall be taken in case the destination file already exists.
| Enum Constant Summary | |
|---|---|
APPEND
Append data to any pre-existing files.  | 
|
FAIL
Raise an exception in case the file to be written already exists.  | 
|
IGNORE
If the file already exists, do nothing.  | 
|
REPLACE
If the file already exists, replace it.  | 
|
| Method Summary | |
|---|---|
static FileExistsMode | 
getForString(java.lang.String fileExistsModeAsString)
For a given non-null and not-empty input string, this method returns the corresponding FileExistsMode. | 
static FileExistsMode | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.  | 
static FileExistsMode[] | 
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 FileExistsMode APPEND
public static final FileExistsMode FAIL
public static final FileExistsMode IGNORE
public static final FileExistsMode REPLACE
| Method Detail | 
|---|
public static FileExistsMode[] values()
for (FileExistsMode c : FileExistsMode.values()) System.out.println(c);
public static FileExistsMode 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 static FileExistsMode getForString(java.lang.String fileExistsModeAsString)
FileExistsMode. If it cannot be determined, an
 IllegalStateException is thrown.
fileExistsModeAsString - Must neither be null nor empty
  | 
Spring Integration | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||