com.hamaf.hikyaku.extension
クラス AppLogSingleInfo

java.lang.Object
  上位を拡張 com.hamaf.hikyaku.extension.AppLogSingleInfo

public class AppLogSingleInfo
extends java.lang.Object

タイトル: シングルトン実装のAppLogInfo関係のプロパティ情報を保持する。

説明: AppLogOutpropertiesの保持を行う。


プロパティとして保持する項目
詳細はAppLogOut.properties fileを参照。

著作権: Copyright (c) 2004

バージョン:
1.0
作成者:
Hamanaka

メソッドの概要
 int getLogLine()
          Describe getLogLine method : return Max outlin count a file.
 java.lang.String getLogName()
          Get the value of LogOutName return Log file Prefix Name .
 java.lang.String getLogOutLevel()
          Describe getLogOutLevel method : return Log output level.
 java.lang.String getLogPath()
          Get the value of LogOutPath return LogOut path .
 java.lang.String getPropertyByName(java.lang.String argName)
          Describe getPropertyByName method : get property by Name.
 java.lang.String getSystemOut()
          Describe getSystemOut method : get SystemOut.
 void init()
          Describe init method : clear & get properties file.
static AppLogSingleInfo newInstance()
          Describe newInstance method : create new Instance.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

newInstance

public static AppLogSingleInfo newInstance()
Describe newInstance method : create new Instance.
自分自身のインスタンスを戻す。
JavaVM 内で一つのインスタンスしか生成を行わない。

戻り値:
an AppLogInfo :

getLogName

public java.lang.String getLogName()
Get the value of LogOutName return Log file Prefix Name .
デバッグログ ファイル名のプレフィックス を渡す。

戻り値:
an String value of LogOutName.

getLogPath

public java.lang.String getLogPath()
Get the value of LogOutPath return LogOut path .
デバッグログ 出力先 パス名 を渡す。

戻り値:
an String value of XmlOutPath.

getLogLine

public int getLogLine()
Describe getLogLine method : return Max outlin count a file.
1 File当りの出力件数を戻す

戻り値:
an int : max outline count

getLogOutLevel

public java.lang.String getLogOutLevel()
Describe getLogOutLevel method : return Log output level.
ログの出力レベルを戻す。

戻り値:
a String : Log output level

getSystemOut

public java.lang.String getSystemOut()
Describe getSystemOut method : get SystemOut.
SystemOut Propertyの値を英小文字に変換して戻す。

戻り値:
a String : value of SystemOut.toLowerCase

getPropertyByName

public java.lang.String getPropertyByName(java.lang.String argName)
Describe getPropertyByName method : get property by Name.
プロパティ名を指定して、プロパティファイルの値を取得する。
該当する名前がない場合は、nullが戻ります。
Properties classgetProperty を呼び出します。

パラメータ:
argName - a String :
戻り値:
a String :
関連項目:
Properties

init

public void init()
Describe init method : clear & get properties file.
保持領域を初期化し、プロパティファイルを読み込む。