public class DefaultLanguagePackImpl extends java.lang.Object implements LanguagePack
RESOURCE_NAME_DEFAULT_VALUE
RESOURCE_NAME
Constructor and Description |
---|
DefaultLanguagePackImpl()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<java.util.Locale> |
getAvailableLocales()
All the locales in the language pack.
|
java.lang.String |
getDescription()
Returns the description of this resource pack.
|
java.lang.String |
getName()
Returns the name of this resource pack.
|
java.util.Set<java.lang.String> |
getResourceKeys(java.util.Locale locale)
Returns a Set of the keys contained only in the ResourceBundle for
locale.
|
java.util.Map<java.lang.String,java.lang.String> |
getResources()
Returns a Map, containing all [key, value] pairs for this
resource pack.
|
java.util.Map<java.lang.String,java.lang.String> |
getResources(java.util.Locale locale)
Returns a Map, containing all [key, value] pairs for the given
locale.
|
public java.util.Map<java.lang.String,java.lang.String> getResources()
getResources
in interface ResourcePack
public java.util.Map<java.lang.String,java.lang.String> getResources(java.util.Locale locale)
getResources
in interface LanguagePack
locale
- The Locale we're looking for.public java.util.Set<java.lang.String> getResourceKeys(java.util.Locale locale)
getResourceKeys
in interface LanguagePack
locale
- the locale for which the keys are requestedpublic java.lang.String getName()
getName
in interface ResourcePack
public java.lang.String getDescription()
getDescription
in interface ResourcePack
public java.util.Iterator<java.util.Locale> getAvailableLocales()
getAvailableLocales
in interface LanguagePack
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.