站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

LocalizedPropertyResourceBundle - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.common.util
Class LocalizedPropertyResourceBundle

java.lang.Object
  extended byjava.util.ResourceBundle
      extended byjava.util.PropertyResourceBundle
          extended byorg.jboss.portal.common.util.LocalizedPropertyResourceBundle

public class LocalizedPropertyResourceBundle
extends java.util.PropertyResourceBundle


Field Summary
 
Fields inherited from class java.util.ResourceBundle
parent
 
Constructor Summary
LocalizedPropertyResourceBundle(java.io.InputStream stream, java.util.Locale locale)
          Create an instanceof of localized property resource bundle.
 
Method Summary
 java.util.Locale getLocale()
           
 
Methods inherited from class java.util.PropertyResourceBundle
getKeys, handleGetObject
 
Methods inherited from class java.util.ResourceBundle
getBundle, getBundle, getBundle, getObject, getString, getStringArray, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalizedPropertyResourceBundle

public LocalizedPropertyResourceBundle(java.io.InputStream stream,
                                       java.util.Locale locale)
                                throws java.io.IOException
Create an instanceof of localized property resource bundle.

Parameters:
stream - the stream to decode the property file
locale - the locale to use
Throws:
java.lang.IllegalArgumentException - if the locale is null
java.io.IOException
Method Detail

getLocale

public java.util.Locale getLocale()