|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.apache.log4j.xml.UtilLoggingXMLDecoder
public class UtilLoggingXMLDecoder
Decodes JDK 1.4's java.util.logging package events delivered via XML (using the logger.dtd).
コンストラクタの概要 | |
---|---|
UtilLoggingXMLDecoder()
Create new instance. |
|
UtilLoggingXMLDecoder(java.awt.Component o)
Create new instance. |
メソッドの概要 | |
---|---|
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. |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public UtilLoggingXMLDecoder(java.awt.Component o)
o
- ownerpublic UtilLoggingXMLDecoder()
メソッドの詳細 |
---|
public void setAdditionalProperties(java.util.Map properties)
Decoder
内の setAdditionalProperties
properties
- additional propertiespublic java.util.Vector decode(java.net.URL url) throws java.io.IOException
Decoder
内の decode
url
- the url of a file containing events to decode
java.io.IOException
- if IO error during processing.public java.util.Vector decodeEvents(java.lang.String document)
Decoder
内の decodeEvents
document
- to decode events from
public org.apache.log4j.spi.LoggingEvent decode(java.lang.String data)
Decoder
内の decode
data
- XML fragment
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |