|
Log4j 1.3alpha-3 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.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(java.awt.Component owner)
|
Method Summary | |
LoggingEvent |
decode(java.lang.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. |
java.util.Vector |
decode(java.net.URL url)
Decodes a File into a Vector of LoggingEvents |
java.util.Vector |
decodeEvents(java.lang.String document)
Decodes a String representing a number of events into a Vector of LoggingEvents |
void |
setAdditionalProperties(java.util.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(java.awt.Component owner)
public UtilLoggingXMLDecoder()
Method Detail |
public void setAdditionalProperties(java.util.Map additionalProperties)
setAdditionalProperties
in interface Decoder
additionalProperties
- public java.util.Vector decode(java.net.URL url) throws java.io.IOException
decode
in interface Decoder
url
- the url of a file containing events to decode
java.io.IOException
public java.util.Vector decodeEvents(java.lang.String document)
decodeEvents
in interface Decoder
document
- to decode events from
public LoggingEvent decode(java.lang.String data)
decode
in interface Decoder
data
-
|
Log4j 1.3alpha-3 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |