Uses of Class
org.restlet.gwt.data.Language

Packages that use Language
org.restlet.gwt.data Element of information handled by a component via a connector. 
org.restlet.gwt.resource Common resource and representation data elements. 
org.restlet.gwt.util Utility classes and interfaces used in the rest of the API. 
 

Uses of Language in org.restlet.gwt.data
 

Fields in org.restlet.gwt.data declared as Language
static Language Language.ALL
          All languages acceptable.
static Language Language.ENGLISH
          English language.
static Language Language.ENGLISH_US
          English language spoken in USA.
static Language Language.FRENCH
          French language.
static Language Language.FRENCH_FRANCE
          French language spoken in France.
static Language Language.SPANISH
          Spanish language.
 

Methods in org.restlet.gwt.data that return Language
static Language Language.valueOf(java.lang.String name)
          Returns the language associated to a name.
 

Methods in org.restlet.gwt.data that return types with arguments of type Language
 java.util.List<Preference<Language>> ClientInfo.getAcceptedLanguages()
          Returns the modifiable list of language preferences.
 

Method parameters in org.restlet.gwt.data with type arguments of type Language
 void ClientInfo.setAcceptedLanguages(java.util.List<Preference<Language>> acceptedLanguages)
          Sets the language preferences.
 

Uses of Language in org.restlet.gwt.resource
 

Methods in org.restlet.gwt.resource that return types with arguments of type Language
 java.util.List<Language> Variant.getLanguages()
          Returns the modifiable list of languages.
 

Method parameters in org.restlet.gwt.resource with type arguments of type Language
 void Variant.setLanguages(java.util.List<Language> languages)
          Sets the list of languages.
 

Constructors in org.restlet.gwt.resource with parameters of type Language
StringRepresentation(java.lang.String text, Language language)
          Constructor.
StringRepresentation(java.lang.String text, MediaType mediaType, Language language)
          Constructor.
StringRepresentation(java.lang.String text, MediaType mediaType, Language language, CharacterSet characterSet)
          Constructor.
 

Uses of Language in org.restlet.gwt.util
 

Methods in org.restlet.gwt.util with parameters of type Language
abstract  Variant Engine.getPreferredVariant(ClientInfo client, java.util.List<Variant> variants, Language defaultLanguage)
          Returns the best variant representation for a given resource according the the client preferences.
A default language is provided in case the variants don't match the client preferences.
 



Copyright © 2005-2008 Noelios Technologies.