クラス org.objectweb.cjdbc.common.i18n.I18N

org.objectweb.cjdbc.common.i18n.I18Nに対する継承グラフ

Inheritance graph
[凡例]
すべてのメンバ一覧

説明

This class defines a I18N

作者:
Nicolas Modrzyk
バージョン:
1.0

I18N.java36 行で定義されています。

Static Public メソッド

String get (ResourceBundle bundle, String key)
String get (ResourceBundle bundle, String key, boolean parameter)
String get (ResourceBundle bundle, String key, int parameter)
String get (ResourceBundle bundle, String key, long parameter)
String get (ResourceBundle bundle, String key, Object[] parameters)
String get (ResourceBundle bundle, String key, Object parameter)


メソッド

String org.objectweb.cjdbc.common.i18n.I18N.get ResourceBundle  bundle,
String  key,
Object  parameter
[static]
 

Same as above but implies creation of an array for the parameter

引数:
bundle then translation bundle to use
key to translate
parameter to put in translation
戻り値:
translated message
I18N.java124 行で定義されています。

参照先 org.objectweb.cjdbc.common.i18n.I18N.get().

00125 { 00126 return MessageFormat.format(get(bundle, key), new Object[]{parameter}); 00127 }

String org.objectweb.cjdbc.common.i18n.I18N.get ResourceBundle  bundle,
String  key,
Object[]  parameters
[static]
 

Replace REPLACE_CHAR in the translated message with parameters. If you have more parameters than charaters to replace, remaining parameters are appended as a comma separated list at the end of the message.

引数:
bundle then translation bundle to use
key the key to find in the translation file
parameters to put inside square braquets
戻り値:
the corresponding sentence of the key if not found
I18N.java110 行で定義されています。

参照先 org.objectweb.cjdbc.common.i18n.I18N.get().

00112 { 00113 return MessageFormat.format(get(bundle, key), parameters); 00114 }

String org.objectweb.cjdbc.common.i18n.I18N.get ResourceBundle  bundle,
String  key,
long  parameter
[static]
 

Returns translated key with instanciated parameters

引数:
bundle then translation bundle to use
key the key to find in translation file.
parameter the parameter value
戻り値:
the corresponding sentence with key and parameters
I18N.java93 行で定義されています。

参照先 org.objectweb.cjdbc.common.i18n.I18N.get().

00094 { 00095 return MessageFormat.format(get(bundle, key), new Object[]{String 00096 .valueOf(parameter)}); 00097 }

String org.objectweb.cjdbc.common.i18n.I18N.get ResourceBundle  bundle,
String  key,
int  parameter
[static]
 

Returns translated key with instanciated parameters

引数:
bundle then translation bundle to use
key the key to find in translation file.
parameter the parameter value
戻り値:
the corresponding sentence with key and parameters
I18N.java79 行で定義されています。

参照先 org.objectweb.cjdbc.common.i18n.I18N.get().

00080 { 00081 return MessageFormat.format(get(bundle, key), new Object[]{String 00082 .valueOf(parameter)}); 00083 }

String org.objectweb.cjdbc.common.i18n.I18N.get ResourceBundle  bundle,
String  key,
boolean  parameter
[static]
 

Returns translated key with instanciated parameters

引数:
bundle then translation bundle to use
key the key to find in translation file.
parameter the parameter value
戻り値:
the corresponding sentence with key and parameters
I18N.java65 行で定義されています。

参照先 org.objectweb.cjdbc.common.i18n.I18N.get().

00066 { 00067 return MessageFormat.format(get(bundle, key), new Object[]{String 00068 .valueOf(parameter)}); 00069 }

String org.objectweb.cjdbc.common.i18n.I18N.get ResourceBundle  bundle,
String  key
[static]
 

Returns associated sentence to that key

引数:
key the key to find in the translation file
bundle then translation bundle to use
戻り値:
the corresponding sentence of the key if not found
I18N.java45 行で定義されています。

参照元 org.objectweb.cjdbc.common.i18n.I18N.get().

00046 { 00047 try 00048 { 00049 return bundle.getString(key); 00050 } 00051 catch (Exception e) 00052 { 00053 return key; 00054 } 00055 }


このクラスの説明は次のファイルから生成されました:
CJDBCversion1.0.4に対してTue Oct 12 15:16:09 2004に生成されました。 doxygen 1.3.8