com.hamaf.hikyaku.tfunc
クラス CommonMessages

java.lang.Object
  上位を拡張 com.hamaf.hikyaku.tfunc.CommonMessages

public class CommonMessages
extends java.lang.Object

タイトル:CommonMessages is メッセージ処理用の関数クラス.

説明:JSP内で${hfn:___(___)}で使用される、関数系メッソドが定義される。


全てstatic Stringで、以下の機能を定義する
  1. getMsg(String) : AppCommonMessages_ja_JP.propertiesから値を取得する

著作権: Copyright (c) 2007/06/19

バージョン:
1.0
作成者:
y-hamanaka

コンストラクタの概要
CommonMessages()
           
 
メソッドの概要
static java.lang.String getMsg(java.lang.String key)
          Describe getMsg method : getText from AppCommonMessages.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

CommonMessages

public CommonMessages()
メソッドの詳細

getMsg

public static final java.lang.String getMsg(java.lang.String key)
Describe getMsg method : getText from AppCommonMessages.
AppCommonMessages_ja_JP.properties ファイルから指定されたKeyの値を取得する。
キー値が存在しない場合は、空文字列(長さ0)を戻す。

パラメータ:
key - a String : 取得する値のKey値
戻り値:
a String : 取得した値