public class DOMConfigurator extends java.lang.Object implements Configurator
INHERITED, NULL
Constructor and Description |
---|
DOMConfigurator() |
Modifier and Type | Method and Description |
---|---|
static void |
configure(org.w3c.dom.Element element) |
static void |
configure(java.lang.String filename) |
static void |
configure(java.net.URL url) |
static void |
configureAndWatch(java.lang.String configFilename) |
static void |
configureAndWatch(java.lang.String configFilename,
long delay) |
void |
doConfigure(org.w3c.dom.Element element,
LoggerRepository repository) |
void |
doConfigure(java.io.InputStream inputStream,
LoggerRepository repository) |
void |
doConfigure(java.io.Reader reader,
LoggerRepository repository) |
void |
doConfigure(java.lang.String filename,
LoggerRepository repository) |
void |
doConfigure(java.net.URL url,
LoggerRepository repository)
Interpret a resource pointed by a URL and set up log4j accordingly.
|
static java.lang.String |
subst(java.lang.String value,
java.util.Properties props) |
public static void configure(org.w3c.dom.Element element)
public static void configure(java.lang.String filename) throws javax.xml.parsers.FactoryConfigurationError
javax.xml.parsers.FactoryConfigurationError
public static void configure(java.net.URL url) throws javax.xml.parsers.FactoryConfigurationError
javax.xml.parsers.FactoryConfigurationError
public static void configureAndWatch(java.lang.String configFilename)
public static void configureAndWatch(java.lang.String configFilename, long delay)
public void doConfigure(org.w3c.dom.Element element, LoggerRepository repository)
public void doConfigure(java.io.InputStream inputStream, LoggerRepository repository) throws javax.xml.parsers.FactoryConfigurationError
javax.xml.parsers.FactoryConfigurationError
public void doConfigure(java.io.Reader reader, LoggerRepository repository) throws javax.xml.parsers.FactoryConfigurationError
javax.xml.parsers.FactoryConfigurationError
public void doConfigure(java.lang.String filename, LoggerRepository repository)
public void doConfigure(java.net.URL url, LoggerRepository repository)
Configurator
hierarchy
parameter.doConfigure
in interface Configurator
url
- The URL to parserepository
- The hierarchy to operation upon.public static java.lang.String subst(java.lang.String value, java.util.Properties props)
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"