org.jcoderz.commons.logging
Class LogLineFormat.LogLineType

java.lang.Object
  extended by org.jcoderz.commons.logging.LogLineFormat.LogLineType
All Implemented Interfaces:
Comparable
Enclosing class:
LogLineFormat

public static final class LogLineFormat.LogLineType
extends Object
implements Comparable

This helper class is used as type safe enumeration for all defined log line types.


Method Summary
 int compareTo(Object o)
          Compares this to the supplied object.
 char getTypeSpecifier()
          Gets the code of this.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTypeSpecifier

public char getTypeSpecifier()
Gets the code of this.

Returns:
the code of this.

compareTo

public int compareTo(Object o)
Compares this to the supplied object.

Specified by:
compareTo in interface Comparable
Parameters:
o - The object to compare with this.
Returns:
result of compare as defined for Comparable.
See Also:
Comparable.compareTo(java.lang.Object)


Copyright 2007 The jCoderZ Project.