FileDocCategorySizeDatePackage
LogIDs.javaAPI DocAzureus 3.0.3.42478Wed Jun 14 02:05:54 BST 2006org.gudy.azureus2.core3.logging

LogIDs

public class LogIDs extends Object implements Comparable
Enumeration of Log IDs (Component IDs) used in Logger
author
TuxPaper
note
Idea from http://java.sun.com/developer/Books/shiftintojava/page1.html#replaceenums

Fields Summary
private final String
name
private static int
nextOrdinal
private final int
ordinal
public static final LogIDs
LOGGER
public static final LogIDs
NWMAN
public static final LogIDs
NET
public static final LogIDs
PEER
public static final LogIDs
CORE
public static final LogIDs
DISK
public static final LogIDs
PLUGIN
public static final LogIDs
TRACKER
public static final LogIDs
GUI
public static final LogIDs
STDOUT
public static final LogIDs
STDERR
public static final LogIDs
ALERT
public static final LogIDs
CACHE
public static final LogIDs
PIECES
public static final LogIDs
UI3
Constructors Summary
private LogIDs(String name)


	   
		this.name = name;
	
Methods Summary
public intcompareTo(java.lang.Object o)

		return ordinal - ((LogIDs) o).ordinal;
	
public java.lang.StringtoString()

		return this.name;