|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Object | +--org.apache.log4j.config.PropertyPrinter
Prints the configuration of the log4j default hierarchy
(which needs to be auto-initialized) as a propoperties file
on a PrintWriter.
log4j のデフォルト階層(自動初期化される必要があります)の設定を PrintWriter 上のプロパティ・ファイルとして出力します。
| フィールドの概要 | |
protected Hashtable |
appenderNames
|
protected boolean |
doCapitalize
|
protected Hashtable |
layoutNames
|
protected int |
numAppenders
|
protected PrintWriter |
out
|
| コンストラクタの概要 | |
PropertyPrinter(PrintWriter out)
|
|
PropertyPrinter(PrintWriter out,
boolean doCapitalize)
|
|
| メソッドの概要 | |
static String |
capitalize(String name)
|
void |
foundProperty(Object obj,
String prefix,
String name,
Object value)
|
protected String |
genAppName()
|
protected boolean |
isGenAppName(String name)
Returns true if the specified appender name is considered to have been generated, i.e. if it is of the form A[0-9]+. |
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. |
protected void |
printOptions(PrintWriter out,
Category cat)
|
protected void |
printOptions(PrintWriter out,
Object obj,
String fullname)
|
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
protected int numAppenders
protected Hashtable appenderNames
protected Hashtable layoutNames
protected PrintWriter out
protected boolean doCapitalize
| コンストラクタの詳細 |
public PropertyPrinter(PrintWriter out)
public PropertyPrinter(PrintWriter out,
boolean doCapitalize)
| メソッドの詳細 |
protected String genAppName()
protected boolean isGenAppName(String name)
指定したアペンダ名が、例えば、A[0-9]+ 形式で生成されたと見なされた場合、true を返します。
public void print(PrintWriter out)
デフォルトの log4j 階層の設定を指定したライターを使ったプロパティ・ファイルとして出力します。
N.B. print() can be invoked only once!
注意 print() は、1度しか起動できません!
protected void printOptions(PrintWriter out,
Category cat)
protected void printOptions(PrintWriter out,
Object obj,
String fullname)
public void foundProperty(Object obj,
String prefix,
String name,
Object value)
PropertyGetter.PropertyCallback 内の foundPropertypublic static String capitalize(String name)
public static void main(String[] args)
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||