|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.util.WriteMode
WriteMode
is an enumeration of modes for writing to an OutputFile
.
OutputFile
Field Summary | |
static WriteMode |
APPEND
Append to an existing file. |
static WriteMode |
BACKUP
Create a backup of any existing file, before re-writing it. |
static WriteMode |
MERGE
Merge into an existing file. |
static WriteMode |
ORIGINAL
Only open the file, if it doesn't already exist. |
static WriteMode |
OVERWRITE
Clobber an existing file. |
protected String |
value
|
private static String |
versionID
|
Constructor Summary | |
protected |
WriteMode(String theValue)
|
Method Summary | |
static WriteMode |
toEnum(String theValue)
Obtain the WriteMode representation of the String value. |
String |
toString()
Obtain the String representation of the WriteMode value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String versionID
protected String value
public static final WriteMode ORIGINAL
public static final WriteMode OVERWRITE
public static final WriteMode MERGE
public static final WriteMode BACKUP
public static final WriteMode APPEND
Constructor Detail |
protected WriteMode(String theValue)
Method Detail |
public static WriteMode toEnum(String theValue)
WriteMode
representation of the String value.
theValue
- the String value of one of the possible WriteMode
values
WriteMode
representation of the String valuepublic final String toString()
WriteMode
value.
WriteMode
value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |