com.JRcServer.sys.log.custom
クラス CreateCustomLog

java.lang.Object
  上位を拡張 com.JRcServer.sys.log.custom.CreateCustomLog

public class CreateCustomLog
extends java.lang.Object

CustomLog生成処理.

CustomLogを生成します.

導入されたバージョン:
JDK 1.3
バージョン:
1.00, 2005/02/23
作成者:
Masahito Suzuki

メソッドの概要
 LogWriter createCustomLog(CustomLogConfig cf)
          カスタムログをロード.
 LogWriter createCustomLog(java.lang.String name)
          カスタムログをロード.
 CustomLogConfig getCustomLogConfig(java.lang.String name)
          カスタムログコンフィグオブジェクトを取得.
 CustomStyleConfig getCustomStyleConfig(CustomLogConfig conf)
          カスタムスタイルコンフィグオブジェクトを取得.
 CustomStyleConfig getCustomStyleConfig(java.lang.String name)
          カスタムスタイルコンフィグオブジェクトを取得.
static CreateCustomLog getInstance()
          オブジェクト情報を取得.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

getInstance

public static final CreateCustomLog getInstance()
オブジェクト情報を取得.

オブジェクト情報を取得します.

戻り値:
CreateCustomLog オブジェクト情報が返されます.

getCustomLogConfig

public final CustomLogConfig getCustomLogConfig(java.lang.String name)
                                         throws InputException,
                                                ExecutionException
カスタムログコンフィグオブジェクトを取得.

指定ファイルから、カスタムログコンフィグオブジェクトを 取得します.

パラメータ:
name - 対象のカスタムログコンフィグファイル名を設定します.
戻り値:
CustomLogConfig 対象のカスタムログコンフィグが返されます.
例外:
InputException - 入力例外.
ExecutionException - 実行例外.

getCustomStyleConfig

public final CustomStyleConfig getCustomStyleConfig(CustomLogConfig conf)
                                             throws InputException
カスタムスタイルコンフィグオブジェクトを取得.

カスタムログコンフィグから、カスタムスタイルコンフィグオブジェクトを 取得します.

パラメータ:
conf - 対象のカスタムログコンフィグオブジェクトを設定します.
戻り値:
CustomLogConfig 対象のカスタムログコンフィグが返されます.
対象情報が不正な場合、デフォルトのカスタムスタイル コンフィグが返されます.
例外:
InputException - 入力例外.

getCustomStyleConfig

public final CustomStyleConfig getCustomStyleConfig(java.lang.String name)
カスタムスタイルコンフィグオブジェクトを取得.

指定ファイルから、カスタムスタイルコンフィグオブジェクトを 取得します.

パラメータ:
name - 対象のカスタムスタイルコンフィグファイル名を設定します.
戻り値:
CustomLogConfig 対象のカスタムログコンフィグが返されます.
対象情報が不正な場合、デフォルトのカスタムスタイル コンフィグが返されます.

createCustomLog

public final LogWriter createCustomLog(java.lang.String name)
                                throws InputException,
                                       ExecutionException
カスタムログをロード.

カスタムログをロードします.

パラメータ:
name - 対象のカスタムログコンフィグファイル名を設定します.
戻り値:
LogWriter カスタムログが返されます.
例外:
InputException - 入力例外.
ExecutionException - 実行例外.

createCustomLog

public final LogWriter createCustomLog(CustomLogConfig cf)
                                throws InputException,
                                       ExecutionException
カスタムログをロード.

カスタムログをロードします.

パラメータ:
cf - 対象のカスタムログコンフィグオブジェクトを設定します.
戻り値:
LogWriter カスタムログが返されます.
例外:
InputException - 入力例外.
ExecutionException - 実行例外.