public class ReplacingLocalizedString extends WrappedLocalizedString
wrapped| Constructor and Description |
|---|
ReplacingLocalizedString(LocalizedString s) |
| Modifier and Type | Method and Description |
|---|---|
Map<Locale,String> |
asMap()
Returns a Map representation of the localisation setting represented by this
LocalizedString.
|
ReplacingLocalizedString |
clone() |
String |
get(Locale locale)
Gets the value for a certain locale.
|
static void |
main(String[] argv) |
static String |
makeLiteral(String s)
Utility method for second argument of replaceAll
|
protected String |
replace(String input) |
void |
replaceAll(String regexp,
String replacement) |
equals, getBundle, getKey, getReadonlyLocalizedString, getValues, hashCode, set, setBundle, setKeydegrade, degrade, fillFromXml, getDebugString, getDefault, getLocale, getLocale, getXmlLang, setDefault, setXmlLang, toString, toStrings, toXmlpublic ReplacingLocalizedString(LocalizedString s)
s - The wrapped LocalizedString.public String get(Locale locale)
LocalizedStringget in class WrappedLocalizedStringpublic Map<Locale,String> asMap()
asMap in class WrappedLocalizedStringpublic ReplacingLocalizedString clone()
clone in interface PublicCloneable<LocalizedString>clone in class LocalizedStringpublic static String makeLiteral(String s)
public static void main(String[] argv)
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}