Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.resources
Interface LanguagePack

All Superinterfaces:
ResourcePack
All Known Implementing Classes:
DefaultLanguagePackImpl

public interface LanguagePack
extends ResourcePack

Author:
Damian Minkov

Field Summary
static String RESOURCE_NAME_DEFAULT_VALUE
           
 
Fields inherited from interface net.java.sip.communicator.service.resources.ResourcePack
RESOURCE_NAME
 
Method Summary
 Iterator<Locale> getAvailableLocales()
          All the locales in the language pack.
 Map<String,String> getResources(Locale locale)
          Returns a Map, containing all [key, value] pairs for the given locale.
 
Methods inherited from interface net.java.sip.communicator.service.resources.ResourcePack
getDescription, getName, getResources
 

Field Detail

RESOURCE_NAME_DEFAULT_VALUE

static final String RESOURCE_NAME_DEFAULT_VALUE
See Also:
Constant Field Values
Method Detail

getResources

Map<String,String> getResources(Locale locale)
Returns a Map, containing all [key, value] pairs for the given locale.

Parameters:
locale - The Locale we're looking for.
Returns:
a Map, containing all [key, value] pairs for the given locale.

getAvailableLocales

Iterator<Locale> getAvailableLocales()
All the locales in the language pack.

Returns:
all the locales this Language pack contains.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.