java.lang.Object |
↳ |
org.apache.log4j.xml.examples.XMLSample |
Class Overview
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.
Summary
Public Methods |
static
void
|
main(String[] argv)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
public
static
void
main
(String[] argv)