Reusable Java library of general tools with minimal external dependencies.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://www.aoindustries.com/contact
public abstract class EditableResourceBundle extends ModifiablePropertiesResourceBundle implements Comparable<EditableResourceBundle>
ResourceBundle.Control| Modifier and Type | Field and Description |
|---|---|
static String |
EMPTY_DISPLAY
Value used for empty strings, to avoid ambiguity.
|
static String |
VISIBILITY_COOKIE_NAME |
parent| Constructor and Description |
|---|
EditableResourceBundle(Locale locale,
EditableResourceBundleSet bundleSet,
File... sourceFiles) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(EditableResourceBundle o)
The natural sorting is based on classname.
|
Object |
handleGetObject(String key)
Gets an object.
|
static void |
printEditableResourceBundleLookups(Encoder textInJavaScriptEncoder,
Encoder textInXhtmlEncoder,
Appendable out,
int editorRows,
boolean verticalButtons)
Prints the resource bundle lookup editor.
|
static void |
resetRequest(boolean canEditResources,
String setValueUrl,
boolean modifyAllText)
Any page that allows the editing of resources must set this at the beginning of the request.
|
getKeys, getModifiedTime, getValidatedTime, getValue, handleKeySet, handleRemoveKey, handleSetObject, isModifiable, isTrackingKey, keySetNoParentsremoveKey, setObject, setString, setStringArrayclearCache, clearCache, containsKey, getBaseBundleName, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, keySet, setParentpublic static final String VISIBILITY_COOKIE_NAME
public static final String EMPTY_DISPLAY
public EditableResourceBundle(Locale locale, EditableResourceBundleSet bundleSet, File... sourceFiles)
public static void resetRequest(boolean canEditResources,
String setValueUrl,
boolean modifyAllText)
false or calling printEditableResourceBundleLookups.
Also resets the thread lookup context.
public static void printEditableResourceBundleLookups(Encoder textInJavaScriptEncoder, Encoder textInXhtmlEncoder, Appendable out, int editorRows, boolean verticalButtons) throws IOException
Also clears the thread lookup context.
public int compareTo(EditableResourceBundle o)
compareTo in interface Comparable<EditableResourceBundle>public Object handleGetObject(String key)
handleGetObject in class ModifiablePropertiesResourceBundleBundleLookupThreadContextCopyright © 2000–2016 AO Industries, Inc.. All rights reserved.