org.seasar.framework.util
クラス ResourceBundleUtil

java.lang.Object
  拡張org.seasar.framework.util.ResourceBundleUtil

public class ResourceBundleUtil
extends Object

ResourceBundle用のユーティリティクラスです。

作成者:
higa

メソッドの概要
static Map convertMap(ResourceBundle bundle)
          Mapに変換します。
static Map convertMap(String name, Locale locale)
          Mapに変換します。
static ResourceBundle getBundle(String name, Locale locale)
          バンドルを返します。
static ResourceBundle getBundle(String name, Locale locale, ClassLoader classLoader)
          バンドルを返します。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

getBundle

public static final ResourceBundle getBundle(String name,
                                             Locale locale)
バンドルを返します。 見つからない場合は、nullを返します。

パラメータ:
name -
locale -
戻り値:
ResourceBundle
関連項目:
ResourceBundle.getBundle(String, Locale)

getBundle

public static final ResourceBundle getBundle(String name,
                                             Locale locale,
                                             ClassLoader classLoader)
バンドルを返します。 見つからない場合は、nullを返します。

パラメータ:
name -
locale -
classLoader -
戻り値:
ResourceBundle
関連項目:
ResourceBundle.getBundle(String, Locale, ClassLoader)

convertMap

public static final Map convertMap(ResourceBundle bundle)
Mapに変換します。

パラメータ:
bundle -
戻り値:
Map

convertMap

public static final Map convertMap(String name,
                                   Locale locale)
Mapに変換します。

パラメータ:
name -
locale -
戻り値:
Map


Copyright ? 2004-2007 The Seasar Foundation. All Rights Reserved.