public class DOMConfigurator extends Object
Constructor and Description |
---|
DOMConfigurator() |
Modifier and Type | Method and Description |
---|---|
static void |
configure(Element element) |
static void |
configure(String filename) |
static void |
configure(URL url) |
static void |
configureAndWatch(String configFilename) |
static void |
configureAndWatch(String configFilename,
long delay) |
void |
doConfigure(Element element,
LoggerRepository repository) |
void |
doConfigure(InputStream inputStream,
LoggerRepository repository) |
void |
doConfigure(Reader reader,
LoggerRepository repository) |
void |
doConfigure(String filename,
LoggerRepository repository) |
void |
doConfigure(URL url,
LoggerRepository repository) |
static Object |
parseElement(Element element,
Properties props,
Class expectedClass) |
static void |
setParameter(Element elem,
PropertySetter propSetter,
Properties props) |
static String |
subst(String value,
Properties props) |
public DOMConfigurator()
public void doConfigure(String filename, LoggerRepository repository)
public void doConfigure(URL url, LoggerRepository repository)
public void doConfigure(InputStream inputStream, LoggerRepository repository) throws FactoryConfigurationError
FactoryConfigurationError
public void doConfigure(Reader reader, LoggerRepository repository) throws FactoryConfigurationError
FactoryConfigurationError
public void doConfigure(Element element, LoggerRepository repository)
public static void configureAndWatch(String configFilename)
public static void configureAndWatch(String configFilename, long delay)
public static void configure(String filename) throws FactoryConfigurationError
FactoryConfigurationError
public static void configure(URL url) throws FactoryConfigurationError
FactoryConfigurationError
public static String subst(String value, Properties props)
public static void setParameter(Element elem, PropertySetter propSetter, Properties props)
public static Object parseElement(Element element, Properties props, Class expectedClass) throws Exception
Exception
Copyright © 1999-1969 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.