public class LangAlt extends Properties
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT
Key for the default language.
|
defaults
Constructor and Description |
---|
LangAlt()
Creates a Properties object that stores languages for use in an XmpSchema
|
LangAlt(String defaultValue)
Creates a Properties object that stores languages for use in an XmpSchema
|
Modifier and Type | Method and Description |
---|---|
void |
addLanguage(String language,
String value)
Add a language.
|
protected void |
process(StringBuffer buf,
Object lang)
Process a property.
|
String |
toString()
Creates a String that can be used in an XmpSchema.
|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, values
public static final String DEFAULT
public LangAlt(String defaultValue)
defaultValue
- default valuepublic LangAlt()
public void addLanguage(String language, String value)
language
- languagevalue
- valueprotected void process(StringBuffer buf, Object lang)
buf
- bufferlang
- objectCopyright © 2020. All rights reserved.