Project JXTA

net.jxta.ext.config
Class Trace

java.lang.Object
  extended by net.jxta.ext.config.Trace

public class Trace
extends Object

Container for registered trace instances.

Version:
$Id: Configurator.java,v 1.111 2003/11/14 21:38:43 gonzo Exp $
Author:
james todd [gonzo at jxta dot org]

Field Summary
static Trace DEBUG
          Debug trace.
static Trace DEFAULT
          Default trace.
static Trace ERROR
          Error trace.
static Trace INFO
          Information trace.
static Trace WARN
          Warn trace.
 
Method Summary
static Trace get(String trace)
          Instantiate a Trace for the named trace level.
static List getTraces()
          Available traces iterator.
 String toString()
          String representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ERROR

public static final Trace ERROR
Error trace.


WARN

public static final Trace WARN
Warn trace.


INFO

public static final Trace INFO
Information trace.


DEBUG

public static final Trace DEBUG
Debug trace.


DEFAULT

public static final Trace DEFAULT
Default trace.

Method Detail

get

public static Trace get(String trace)
Instantiate a Trace for the named trace level.

Parameters:
trace - trace level
Returns:
associated Trace object

getTraces

public static List getTraces()
Available traces iterator.

Returns:
java.util.Iterator of traces

toString

public String toString()
String representation.

Overrides:
toString in class Object
Returns:
Trace String representation.

JXTA J2SE