|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.ResourceBundle | +--java.util.ListResourceBundle | +--com.klg.jclass.util.SettableListResourceBundle
Allow a ResourceBundle implementation to be built up programmatically from a series of name/value pairs rather than a static file. It is probably best to add all pairs before passing it off to the class or method that will be operating on it.
Field Summary | |
protected Object[][] |
contents
Contents array passed back to parent class. |
protected Hashtable |
properties
Storage of name/value pairs in format that is easy to add to. |
protected boolean |
regen
True if contents needs to be regenerated. |
Fields inherited from class java.util.ResourceBundle |
parent |
Constructor Summary | |
SettableListResourceBundle()
Constructor. |
Method Summary | |
void |
add(String name,
String value)
Add name/value pair to resource bundle. |
Object[][] |
getContents()
Get contents of this reource bundle as an array. |
Methods inherited from class java.util.ListResourceBundle |
getKeys, handleGetObject |
Methods inherited from class java.util.ResourceBundle |
getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Object[][] contents
protected Hashtable properties
protected boolean regen
Constructor Detail |
public SettableListResourceBundle()
Method Detail |
public void add(String name, String value)
name
- name part of name/value pairvalue
- value part of name/value pairpublic Object[][] getContents()
getContents
in class ListResourceBundle
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |