Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.protocol
Class ServerStoredDetails.LocaleDetail

java.lang.Object
  extended by net.java.sip.communicator.service.protocol.ServerStoredDetails.GenericDetail
      extended by net.java.sip.communicator.service.protocol.ServerStoredDetails.LocaleDetail
Direct Known Subclasses:
ServerStoredDetails.CountryDetail, ServerStoredDetails.SpokenLanguageDetail
Enclosing class:
ServerStoredDetails

public static class ServerStoredDetails.LocaleDetail
extends ServerStoredDetails.GenericDetail

A generic detail that should be used (extended) when representing details that have anything to do with locales (countries, languages, etc). Most of the locales field could be ignored when extending the class. When representing a country for example we'd only be using the fields concerning the country.


Field Summary
 
Fields inherited from class net.java.sip.communicator.service.protocol.ServerStoredDetails.GenericDetail
detailDisplayName, value
 
Constructor Summary
ServerStoredDetails.LocaleDetail(String detailDisplayName, Locale locale)
           
 
Method Summary
 Locale getLocale()
           
 
Methods inherited from class net.java.sip.communicator.service.protocol.ServerStoredDetails.GenericDetail
equals, getDetailDisplayName, getDetailValue, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerStoredDetails.LocaleDetail

public ServerStoredDetails.LocaleDetail(String detailDisplayName,
                                        Locale locale)
Method Detail

getLocale

public Locale getLocale()

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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