Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
public interface Handler
Field Summary | |
static String | |
static String | |
static byte |
|
static byte |
|
static String | |
static byte |
|
static String | |
static byte |
|
static String | |
static String | |
static String | |
static byte |
|
Method Summary | |
Object |
|
String[] |
|
String |
|
String |
|
Object |
|
void |
|
public static final String APPEND_MODE_ATTRIBUTE
public static final String BUFFER_ATTRIBUTE
public static final byte CONSOLE_HANDLER_TYPE
Deprecated. the type is a string now: "console"
This constant is used to represent an handler which prints message on a console.
- Field Value:
- 2
public static final byte FILE_HANDLER_TYPE
Deprecated. the type is a string now: "file"
This constant is used to represent an handler which stores message into one file.
- Field Value:
- 1
public static final String FILE_NUMBER_ATTRIBUTE
public static final byte GENERIC_HANDLER_TYPE
Deprecated. the type is a string now: "generic"
This constant is used to represent an handler which stores message into several files.
- Field Value:
- 4
public static final String LEVEL_ATTRIBUTE
public static final byte LOGGER_HANDLER_TYPE
Deprecated. the type is a string now: "logger"
This constant is used to represent an handler which is a Logger.
- Field Value:
- 5
public static final String MAX_SIZE_ATTRIBUTE
public static final String OUTPUT_ATTRIBUTE
public static final String PATTERN_ATTRIBUTE
public static final byte ROLLING_FILE_HANDLER_TYPE
This constant is used to represent an handler which stores message into several files.
- Field Value:
- 3
public Object getAttribute(String name)
It retrieves the value of an attribute value of the handler.
- Parameters:
name
- is an attribute name
public String[] getAttributeNames()
It retrieves the attributes of the handler
public String getName()
It retrieves the name of the handler
public String getType()
It retrieves the Handler type
public Object setAttribute(String name, Object value)
It assigns an attributte to the handler.
- Parameters:
name
- is the attribute namevalue
- is the attribute value
- Returns:
- the old value is the attribute was already defined
public void setName(String name)
It assigns the name of the handler