org.jtools.io.psoutput
Enum WriteReason
java.lang.Object
java.lang.Enum<WriteReason>
org.jtools.io.psoutput.WriteReason
- All Implemented Interfaces:
- Serializable, Comparable<WriteReason>, PrintStreamOutput.Result
public enum WriteReason
- extends Enum<WriteReason>
- implements PrintStreamOutput.Result
TODO type-description
- Author:
- Rainer Noack
Method Summary |
boolean |
isWritten()
indicates whether the Output was written or omitted. |
static WriteReason |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static WriteReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
NO_OMIT
public static final WriteReason NO_OMIT
NOT_FOUND
public static final WriteReason NOT_FOUND
OMITTED
public static final WriteReason OMITTED
SIZEDIFF
public static final WriteReason SIZEDIFF
values
public static final WriteReason[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(WriteReason c : WriteReason.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static WriteReason valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
isWritten
public boolean isWritten()
- Description copied from interface:
PrintStreamOutput.Result
- indicates whether the Output was written or omitted.
- Specified by:
isWritten
in interface PrintStreamOutput.Result
© 2000-2006, JTools.org.