Constructor and Description |
---|
UtilLoggingXMLDecoder()
Create new instance.
|
UtilLoggingXMLDecoder(java.awt.Component o)
Create new instance.
|
Modifier and Type | Method and Description |
---|---|
org.apache.log4j.spi.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 properties)
Sets an additionalProperty map, where each Key/Value pair is
automatically added to each LoggingEvent as it is decoded.
|
public UtilLoggingXMLDecoder(java.awt.Component o)
o
- ownerpublic UtilLoggingXMLDecoder()
public void setAdditionalProperties(java.util.Map properties)
setAdditionalProperties
in interface Decoder
properties
- additional propertiespublic java.util.Vector decode(java.net.URL url) throws java.io.IOException
public java.util.Vector decodeEvents(java.lang.String document)
decodeEvents
in interface Decoder
document
- to decode events frompublic org.apache.log4j.spi.LoggingEvent decode(java.lang.String data)
Copyright © 2018. All rights reserved.