com.funambol.client.localization
Interface Localization


public interface Localization


Method Summary
 java.lang.String getDate(long date)
          Return a date in the given locale format.
 java.lang.String getLanguage(java.lang.String key)
          Return a localized string for the given key.
 java.lang.String getTime(long date)
          Return a time in the given locale format.
 

Method Detail

getLanguage

java.lang.String getLanguage(java.lang.String key)
Return a localized string for the given key. The method shall never return null. If the key is not found, the key itself shall be returned.

Parameters:
key - the string value key

getDate

java.lang.String getDate(long date)
Return a date in the given locale format.

Parameters:
date - is a UTC date

getTime

java.lang.String getTime(long date)
Return a time in the given locale format.

Parameters:
date - is a UTC date


Copyright © 2001-2009 Funambol.