JTools

org.jtools.io.psoutput
Enum WriteReason

java.lang.Object
  extended by java.lang.Enum<WriteReason>
      extended by 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

Enum Constant Summary
NO_OMIT
           
NOT_FOUND
           
OMITTED
           
SIZEDIFF
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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

JTools

© 2000-2006, JTools.org.