com.ibm.as400.ui.tools
Class MutableResource
java.lang.Object
java.util.ResourceBundle
com.ibm.as400.ui.tools.MutableResource
public class MutableResource
extends ResourceBundle
Method Summary
void |
addObject(String key,
Object value)
|
Enumeration |
getKeys()
|
static Locale |
getLastResourceLocale()
|
static int |
getLastResourceType()
|
protected static MutableResource |
getResource(String baseName,
Locale locale,
ClassLoader loader,
boolean useCache)
|
Object |
handleGetObject(String key)
|
static MutableResource |
loadResource(String baseName)
|
static MutableResource |
loadResource(String baseName,
boolean useCache)
|
static MutableResource |
loadResource(String baseName,
Locale locale)
|
static MutableResource |
loadResource(String baseName,
Locale locale,
boolean useCache)
|
Object |
removeObject(String key)
|
void |
save(OutputStream out,
String header)
|
void |
save(OutputStream out,
String header,
String javaFileName,
String packageName)
|
Object |
setObject(String key,
Object value)
|
void |
setResourceParser(MutableResourceParser parser)
|
| Methods inherited from class java.util.ResourceBundle |
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, handleKeySet, keySet, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY
public static final int PROPERTY
- See Also:
- Constant Field Values
LIST
public static final int LIST
- See Also:
- Constant Field Values
NONE
public static final int NONE
- See Also:
- Constant Field Values
m_localeString
protected static String m_localeString
m_type
protected static int m_type
m_pathSearch
protected static boolean m_pathSearch
MutableResource
public MutableResource()
MutableResource
public MutableResource(InputStream stream)
throws IOException
- Throws:
IOException
MutableResource
public MutableResource(ResourceBundle bundle)
loadResource
public static MutableResource loadResource(String baseName)
throws MissingResourceException
- Throws:
MissingResourceException
loadResource
public static MutableResource loadResource(String baseName,
Locale locale)
throws MissingResourceException
- Throws:
MissingResourceException
loadResource
public static MutableResource loadResource(String baseName,
boolean useCache)
throws MissingResourceException
- Throws:
MissingResourceException
loadResource
public static MutableResource loadResource(String baseName,
Locale locale,
boolean useCache)
throws MissingResourceException
- Throws:
MissingResourceException
getLastResourceType
public static int getLastResourceType()
getLastResourceLocale
public static Locale getLastResourceLocale()
getResource
protected static MutableResource getResource(String baseName,
Locale locale,
ClassLoader loader,
boolean useCache)
throws MissingResourceException
- Throws:
MissingResourceException
handleGetObject
public Object handleGetObject(String key)
- Specified by:
handleGetObject in class ResourceBundle
getKeys
public Enumeration getKeys()
- Specified by:
getKeys in class ResourceBundle
addObject
public void addObject(String key,
Object value)
removeObject
public Object removeObject(String key)
throws MissingResourceException
- Throws:
MissingResourceException
setObject
public Object setObject(String key,
Object value)
throws MissingResourceException
- Throws:
MissingResourceException
save
public void save(OutputStream out,
String header)
throws IOException
- Throws:
IOException
save
public void save(OutputStream out,
String header,
String javaFileName,
String packageName)
throws IOException
- Throws:
IOException
setResourceParser
public void setResourceParser(MutableResourceParser parser)