当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
LocalizedPropertyResourceBundle - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.common.util
Class LocalizedPropertyResourceBundle
java.lang.Object
java.util.ResourceBundle
java.util.PropertyResourceBundle
org.jboss.portal.common.util.LocalizedPropertyResourceBundle
- public class LocalizedPropertyResourceBundle
- extends java.util.PropertyResourceBundle
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. |
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 |
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 filelocale
- the locale to use
- Throws:
java.lang.IllegalArgumentException
- if the locale is null
java.io.IOException
getLocale
public java.util.Locale getLocale()