org.apache.log.output.db
Class ColumnType

java.lang.Object
  extended byorg.apache.log.output.db.ColumnType

public class ColumnType
extends java.lang.Object

A class to hold all constants for ColumnTypes.

Author:
Peter Donald

Field Summary
static int CATEGORY
           
static java.lang.String CATEGORY_STR
           
static int CONTEXT
           
static java.lang.String CONTEXT_STR
           
static int HOSTNAME
           
static java.lang.String HOSTNAME_STR
           
static int MESSAGE
           
static java.lang.String MESSAGE_STR
           
static int PRIORITY
           
static java.lang.String PRIORITY_STR
           
static int RELATIVE_TIME
           
static java.lang.String RELATIVE_TIME_STR
           
static int STATIC
           
static java.lang.String STATIC_STR
          The maximum value used for TYPEs.
static int THROWABLE
           
static java.lang.String THROWABLE_STR
           
static int TIME
           
static java.lang.String TIME_STR
           
 
Constructor Summary
ColumnType()
           
 
Method Summary
static int getTypeIdFor(java.lang.String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATIC

public static final int STATIC
See Also:
Constant Field Values

CATEGORY

public static final int CATEGORY
See Also:
Constant Field Values

CONTEXT

public static final int CONTEXT
See Also:
Constant Field Values

MESSAGE

public static final int MESSAGE
See Also:
Constant Field Values

TIME

public static final int TIME
See Also:
Constant Field Values

RELATIVE_TIME

public static final int RELATIVE_TIME
See Also:
Constant Field Values

THROWABLE

public static final int THROWABLE
See Also:
Constant Field Values

PRIORITY

public static final int PRIORITY
See Also:
Constant Field Values

HOSTNAME

public static final int HOSTNAME
See Also:
Constant Field Values

STATIC_STR

public static final java.lang.String STATIC_STR
The maximum value used for TYPEs. Subclasses can define their own TYPEs starting at MAX_TYPE + 1.

See Also:
Constant Field Values

CATEGORY_STR

public static final java.lang.String CATEGORY_STR
See Also:
Constant Field Values

CONTEXT_STR

public static final java.lang.String CONTEXT_STR
See Also:
Constant Field Values

MESSAGE_STR

public static final java.lang.String MESSAGE_STR
See Also:
Constant Field Values

TIME_STR

public static final java.lang.String TIME_STR
See Also:
Constant Field Values

RELATIVE_TIME_STR

public static final java.lang.String RELATIVE_TIME_STR
See Also:
Constant Field Values

THROWABLE_STR

public static final java.lang.String THROWABLE_STR
See Also:
Constant Field Values

PRIORITY_STR

public static final java.lang.String PRIORITY_STR
See Also:
Constant Field Values

HOSTNAME_STR

public static final java.lang.String HOSTNAME_STR
See Also:
Constant Field Values
Constructor Detail

ColumnType

public ColumnType()
Method Detail

getTypeIdFor

public static int getTypeIdFor(java.lang.String type)


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.