Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.javahispano.canyamo.services.i18n
Interface Language  view Language download Language.java

All Known Implementing Classes:
LanguageImpl

public interface Language

This interface represents a Language which can be managed by I18nManager.

A Language is only a class which can "translated" keys into the language it contains.


Method Summary
 java.lang.String get(java.lang.String key)
          Gets the "translated" value of the given key

Same as getValue
 java.text.DateFormat getLongDateFormat()
          Gets a long-date formatter for this language
which can be used to format dates according to the selected language

Example: 01-23-2002
 java.lang.String getName()
          Gets langauge's name
 java.text.DateFormat getShortDateFormat()
          Gets a short-date formatter for this language
which can be used to format dates according to the selected language

Example: 01-23-02
 java.lang.String getValue(java.lang.String key)
          Gets the "translated" value of the given key

Same as get
 

Method Detail

getValue

public java.lang.String getValue(java.lang.String key)
Gets the "translated" value of the given key

Same as get


get

public java.lang.String get(java.lang.String key)
Gets the "translated" value of the given key

Same as getValue


getName

public java.lang.String getName()
Gets langauge's name


getLongDateFormat

public java.text.DateFormat getLongDateFormat()
Gets a long-date formatter for this language
which can be used to format dates according to the selected language

Example: 01-23-2002


getShortDateFormat

public java.text.DateFormat getShortDateFormat()
Gets a short-date formatter for this language
which can be used to format dates according to the selected language

Example: 01-23-02