ch.javasoft.util.logging
Enum LogFormatter.LogParameter

java.lang.Object
  extended by java.lang.Enum<LogFormatter.LogParameter>
      extended by ch.javasoft.util.logging.LogFormatter.LogParameter
All Implemented Interfaces:
Serializable, Comparable<LogFormatter.LogParameter>
Enclosing class:
LogFormatter

public static enum LogFormatter.LogParameter
extends Enum<LogFormatter.LogParameter>

Constants for interplay with LogFragmenter


Enum Constant Summary
FRAGMENTED_LOG_CONTINUE
          Parameter indicating that fragmented logging is to continue
FRAGMENTED_LOG_END
          Parameter indicating that fragmented logging ends
FRAGMENTED_LOG_START
          Parameter indicating that fragmented logging started
 
Method Summary
static LogFormatter.LogParameter valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LogFormatter.LogParameter[] 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

FRAGMENTED_LOG_START

public static final LogFormatter.LogParameter FRAGMENTED_LOG_START
Parameter indicating that fragmented logging started


FRAGMENTED_LOG_CONTINUE

public static final LogFormatter.LogParameter FRAGMENTED_LOG_CONTINUE
Parameter indicating that fragmented logging is to continue


FRAGMENTED_LOG_END

public static final LogFormatter.LogParameter FRAGMENTED_LOG_END
Parameter indicating that fragmented logging ends

Method Detail

values

public static LogFormatter.LogParameter[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (LogFormatter.LogParameter c : LogFormatter.LogParameter.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LogFormatter.LogParameter 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
NullPointerException - if the argument is null