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 ModifiableResourceBundle extends ResourceBundle
ResourceBundle.Controlparent| Constructor and Description |
|---|
ModifiableResourceBundle() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
handleRemoveKey(String key)
This will only be called on modifiable bundles.
|
protected abstract void |
handleSetObject(String key,
Object value,
boolean modified)
This will only be called on modifiable bundles.
|
abstract boolean |
isModifiable()
Checks if this bundle is currently modifiable.
|
void |
removeKey(String key)
Removes a string.
|
void |
setObject(String key,
Object value,
boolean modified)
Adds or updates the value associated with the provided key and sets
the verified time to the current time.
|
void |
setString(String key,
String value,
boolean modified) |
void |
setStringArray(String key,
String[] value,
boolean modified) |
clearCache, clearCache, containsKey, getBaseBundleName, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getKeys, getLocale, getObject, getString, getStringArray, handleGetObject, handleKeySet, keySet, setParentpublic final void removeKey(String key)
protected abstract void handleRemoveKey(String key)
isModifiable()public final void setObject(String key, Object value, boolean modified)
modified
is true, the modified time will also be updated, which will
cause other locales to require verification.public abstract boolean isModifiable()
Copyright © 2000–2016 AO Industries, Inc.. All rights reserved.