Uses of Class
org.restlet.client.data.Language
-
Packages that use Language Package Description org.restlet.client.data Information exchanged by components.org.restlet.client.representation Common representation data elements.org.restlet.client.service Services used by applications and components.org.restlet.client.util Various utility classes. -
-
Uses of Language in org.restlet.client.data
Fields in org.restlet.client.data declared as Language Modifier and Type Field Description static Language
Language. ALL
All languages acceptable.static Language
Language. DEFAULT
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.client.data that return Language Modifier and Type Method Description Language
Language. getParent()
static Language
Language. valueOf(java.lang.String name)
Returns the language associated to a name.Methods in org.restlet.client.data that return types with arguments of type Language Modifier and Type Method Description java.util.List<Preference<Language>>
ClientInfo. getAcceptedLanguages()
Returns the modifiable list of language preferences.Method parameters in org.restlet.client.data with type arguments of type Language Modifier and Type Method Description void
ClientInfo. setAcceptedLanguages(java.util.List<Preference<Language>> acceptedLanguages)
Sets the language preferences. -
Uses of Language in org.restlet.client.representation
Methods in org.restlet.client.representation that return types with arguments of type Language Modifier and Type Method Description java.util.List<Language>
Variant. getLanguages()
Returns the modifiable list of languages.Method parameters in org.restlet.client.representation with type arguments of type Language Modifier and Type Method Description void
Variant. setLanguages(java.util.List<Language> languages)
Sets the list of languages.
Note that when used with HTTP connectors, this property maps to the "Content-Language" header.Constructors in org.restlet.client.representation with parameters of type Language Constructor Description StringRepresentation(java.lang.CharSequence text, Language language)
Constructor.StringRepresentation(java.lang.CharSequence text, MediaType mediaType, Language language)
Constructor.StringRepresentation(java.lang.CharSequence text, MediaType mediaType, Language language, CharacterSet characterSet)
Constructor.Variant(MediaType mediaType, Language language)
Constructor. -
Uses of Language in org.restlet.client.service
Methods in org.restlet.client.service that return Language Modifier and Type Method Description Language
MetadataService. getDefaultLanguage()
Returns the default language for representations.Language
MetadataService. getLanguage(java.lang.String extension)
Returns the language associated to this extension.Methods in org.restlet.client.service that return types with arguments of type Language Modifier and Type Method Description java.util.List<Language>
MetadataService. getAllLanguages(java.lang.String extension)
Returns all the languages associated to this extension.Methods in org.restlet.client.service with parameters of type Language Modifier and Type Method Description void
MetadataService. setDefaultLanguage(Language defaultLanguage)
Sets the default language for local representations. -
Uses of Language in org.restlet.client.util
Methods in org.restlet.client.util that return types with arguments of type Language Modifier and Type Method Description java.util.List<Language>
WrapperRepresentation. getLanguages()
Method parameters in org.restlet.client.util with type arguments of type Language Modifier and Type Method Description void
WrapperRepresentation. setLanguages(java.util.List<Language> languages)
-