|
Log4j 1.2.8 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.log4j.xml.examples.XMLSample
This example code shows how to read an XML based configuration file using a DOM parser.
Sample XML files sample1.xml and sample2.xml are provided.
Note that the log4j.dtd is not in the local directory. It is found by the class loader.
Constructor Summary | |
XMLSample()
|
Method Summary | |
static void |
main(java.lang.String[] argv)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLSample()
Method Detail |
public static void main(java.lang.String[] argv)
|
Log4j 1.2.8 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |