java.lang.Object | +--org.apache.log4j.config.PropertyPrinterAll Implemented Interfaces:
Hashtable | |
boolean | |
Hashtable | |
int | Prints the configuration of the log4j default hierarchy (which needs to be auto-initialized) as a propoperties file on a PrintWriter. |
PrintWriter |
PropertyPrinter(PrintWriter out) |
PropertyPrinter(PrintWriter out, boolean doCapitalize) |
static String | capitalize(String name) |
void | foundProperty(Object obj, String prefix, String name, Object value) |
String | |
boolean | isGenAppName(String name) Returns true if the specified appender name is considered to have been generated, i.e. |
static void | main(String[] args) |
void | print(PrintWriter out) Prints the configuration of the default log4j hierarchy as a Java properties file on the specified Writer. |
void | printOptions(PrintWriter out, org.apache.log4j.Category cat) |
void | printOptions(PrintWriter out, Object obj, String fullname) |
protected Hashtable appenderNames
protected boolean doCapitalize
protected Hashtable layoutNames
protected int numAppenders
protected PrintWriter out
public PropertyPrinter(PrintWriter out)
public PropertyPrinter(PrintWriter out, boolean doCapitalize)
public static String capitalize(String name)
public void foundProperty(Object obj, String prefix, String name, Object value)
protected String genAppName()
protected boolean isGenAppName(String name)
public static void main(String[] args)
public void print(PrintWriter out)
protected void printOptions(PrintWriter out, Object obj, String fullname)
protected void printOptions(PrintWriter out, org.apache.log4j.Category cat)