|
Log4j 1.3alpha-7 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.log4j.xml.UtilLoggingXMLDecoder
Decodes JDK 1.4's java.util.logging package events delivered via XML (using the logger.dtd).
Constructor Summary | |
UtilLoggingXMLDecoder()
|
|
UtilLoggingXMLDecoder(Component owner)
|
Method Summary | |
LoggingEvent |
decode(String data)
Converts the string data into an XML Document, and then soaks out the relevant bits to form a new LoggingEvent instance which can be used by any Log4j element locally. |
Vector |
decode(URL url)
Decodes a File into a Vector of LoggingEvents |
Vector |
decodeEvents(String document)
Decodes a String representing a number of events into a Vector of LoggingEvents |
void |
setAdditionalProperties(Map additionalProperties)
Sets an additionalProperty map, where each Key/Value pair is automatically added to each LoggingEvent as it is decoded. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UtilLoggingXMLDecoder(Component owner)
public UtilLoggingXMLDecoder()
Method Detail |
public void setAdditionalProperties(Map additionalProperties)
setAdditionalProperties
in interface Decoder
additionalProperties
- public Vector decode(URL url) throws IOException
decode
in interface Decoder
url
- the url of a file containing events to decode
IOException
public Vector decodeEvents(String document)
decodeEvents
in interface Decoder
document
- to decode events from
public LoggingEvent decode(String data)
decode
in interface Decoder
data
-
|
Log4j 1.3alpha-7 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |