## Uses of Class
org.restlet.data.CharacterSet

Packages that use CharacterSet
Package | Description
--- | ---
org.restlet.data | Information exchanged by components.
org.restlet.engine.application | Supports Restlet applications.
org.restlet.engine.http.header | Supports HTTP header parsing and formatting.
org.restlet.engine.io | Supports input and output work.
org.restlet.engine.util | General utilities.
org.restlet.representation | Common representation data elements.
org.restlet.service | Services used by applications and components.
org.restlet.util | Various utility classes.

### Uses of CharacterSet in org.restlet.data

Fields in org.restlet.data declared as CharacterSet
Modifier and Type | Field and Description
--- | ---
`static CharacterSet` | CharacterSet.`ALL` All character sets acceptable.
`static CharacterSet` | CharacterSet.`DEFAULT` The default character set of the JVM.
`static CharacterSet` | CharacterSet.`ISO_8859_1` The ISO/IEC 8859-1 (Latin 1) character set.
`static CharacterSet` | CharacterSet.`ISO_8859_10` The ISO/IEC 8859-10 (Latin 6) character set.
`static CharacterSet` | CharacterSet.`ISO_8859_2` The ISO/IEC 8859-2 (Latin 2) character set.
`static CharacterSet` | CharacterSet.`ISO_8859_3` The ISO/IEC 8859-3 (Latin 3) character set.
`static CharacterSet` | CharacterSet.`ISO_8859_4` The ISO/IEC 8859-4 (Latin 4) character set.
`static CharacterSet` | CharacterSet.`ISO_8859_5` The ISO/IEC 8859-5 (Cyrillic) character set.
`static CharacterSet` | CharacterSet.`ISO_8859_6` The ISO/IEC 8859-6 (Arabic) character set.
`static CharacterSet` | CharacterSet.`ISO_8859_7` The ISO/IEC 8859-7 (Greek) character set.
`static CharacterSet` | CharacterSet.`ISO_8859_8` The ISO/IEC 8859-8 (Hebrew) character set.
`static CharacterSet` | CharacterSet.`ISO_8859_9` The ISO/IEC 8859-9 (Latin 5) character set.
`static CharacterSet` | CharacterSet.`MACINTOSH` The Macintosh ("Mac OS Roman") character set.
`static CharacterSet` | CharacterSet.`US_ASCII` The US-ASCII character set.
`static CharacterSet` | CharacterSet.`UTF_16` The UTF-16 character set.
`static CharacterSet` | CharacterSet.`UTF_8` The UTF-8 character set.
`static CharacterSet` | CharacterSet.`WINDOWS_1252` The Windows-1252 ('ANSI') character set.

Methods in org.restlet.data that return CharacterSet
Modifier and Type | Method and Description
--- | ---
`CharacterSet` | ClientInfo.`getPreferredCharacterSet(java.util.List<CharacterSet> supported)` Returns the preferred character set among a list of supported ones, based on the client preferences.
`static CharacterSet` | CharacterSet.`valueOf(java.lang.String name)` Returns the character set associated to a name.

Methods in org.restlet.data that return types with arguments of type CharacterSet
Modifier and Type | Method and Description
--- | ---
`java.util.List<Preference<CharacterSet>>` | ClientInfo.`getAcceptedCharacterSets()` Returns the modifiable list of character set preferences.

Methods in org.restlet.data with parameters of type CharacterSet
Modifier and Type | Method and Description
--- | ---
`static java.lang.String` | Reference.`decode(java.lang.String toDecode, CharacterSet characterSet)` Decodes a given string using the standard URI encoding mechanism.
`void` | Parameter.`encode(java.lang.Appendable buffer, CharacterSet characterSet)` Encodes the parameter and appends the result to the given buffer.
`java.lang.String` | Form.`encode(CharacterSet characterSet)` URL encodes the form.
`java.lang.String` | Parameter.`encode(CharacterSet characterSet)` Encodes the parameter using the standard URI encoding mechanism.
`java.lang.String` | Form.`encode(CharacterSet characterSet, char separator)` URL encodes the form.
`static java.lang.String` | Reference.`encode(java.lang.String toEncode, CharacterSet characterSet)` Encodes a given string using the standard URI encoding mechanism.
`Form` | Reference.`getMatrixAsForm(CharacterSet characterSet)` Returns the optional matrix as a form submission.
`java.lang.String` | Form.`getMatrixString(CharacterSet characterSet)` Formats the form as a query string.
`Form` | Reference.`getQueryAsForm(CharacterSet characterSet)` Returns the optional query component as a form submission.
`java.lang.String` | Form.`getQueryString(CharacterSet characterSet)` Formats the form as a query string.
`Representation` | Form.`getWebRepresentation(CharacterSet characterSet)` Returns the form as a Web representation (MediaType.APPLICATION_WWW_FORM).

Method parameters in org.restlet.data with type arguments of type CharacterSet
Modifier and Type | Method and Description
--- | ---
`CharacterSet` | ClientInfo.`getPreferredCharacterSet(java.util.List<CharacterSet> supported)` Returns the preferred character set among a list of supported ones, based on the client preferences.
`void` | ClientInfo.`setAcceptedCharacterSets(java.util.List<Preference<CharacterSet>> acceptedCharacterSets)` Sets the character set preferences.

Constructors in org.restlet.data with parameters of type CharacterSet
Constructor and Description
`Form(java.lang.String queryString, CharacterSet characterSet)` Constructor.
`Form(java.lang.String parametersString, CharacterSet characterSet, char separator)` Constructor.

### Uses of CharacterSet in org.restlet.engine.application

Methods in org.restlet.engine.application that return CharacterSet
Modifier and Type | Method and Description
--- | ---
`CharacterSet` | MetadataExtension.`getCharacterSet()` Returns the character set.

### Uses of CharacterSet in org.restlet.engine.http.header

Methods in org.restlet.engine.http.header that return CharacterSet
Modifier and Type | Method and Description
--- | ---
`CharacterSet` | ContentType.`getCharacterSet()` Returns the character set.
`static CharacterSet` | ContentType.`readCharacterSet(java.lang.String contentType)` Parses the given content type header and returns the character set.

Methods in org.restlet.engine.http.header with parameters of type CharacterSet
Modifier and Type | Method and Description
--- | ---
`HeaderWriter<V>` | HeaderWriter.`appendUriEncoded(java.lang.CharSequence source, CharacterSet characterSet)` Formats and appends a source string as an URI encoded string.

Constructors in org.restlet.engine.http.header with parameters of type CharacterSet
Constructor and Description
`ContentType(MediaType mediaType, CharacterSet characterSet)` Constructor.

### Uses of CharacterSet in org.restlet.engine.io

Methods in org.restlet.engine.io with parameters of type CharacterSet
Modifier and Type | Method and Description
--- | ---
`static java.io.Reader` | BioUtils.`getReader(java.io.InputStream stream, CharacterSet characterSet)` Returns a reader from an input stream and a character set.
`static java.io.InputStream` | BioUtils.`getStream(java.io.Reader reader, CharacterSet characterSet)` Returns an input stream based on a given character reader.
`static java.lang.String` | BioUtils.`toString(java.io.InputStream inputStream, CharacterSet characterSet)` Converts an input stream to a string using the specified character set for decoding the input stream.

Constructors in org.restlet.engine.io with parameters of type CharacterSet
Constructor and Description
`ReaderInputStream(java.io.Reader reader, CharacterSet characterSet)` Constructor.

### Uses of CharacterSet in org.restlet.engine.util

Methods in org.restlet.engine.util that return types with arguments of type CharacterSet
Modifier and Type | Method and Description
--- | ---
`protected java.util.List<Preference<CharacterSet>>` | Conneg.`getCharacterSetPrefs()` Returns the enriched list of character set preferences.

Methods in org.restlet.engine.util with parameters of type CharacterSet
Modifier and Type | Method and Description
--- | ---
`static Parameter` | FormUtils.`create(java.lang.CharSequence name, java.lang.CharSequence value, boolean decode, CharacterSet characterSet)` Creates a parameter.
`static Parameter` | FormUtils.`getFirstParameter(java.lang.String query, java.lang.String name, CharacterSet characterSet, char separator)` Reads the first parameter with the given name.
`static java.lang.Object` | FormUtils.`getParameter(java.lang.String query, java.lang.String name, CharacterSet characterSet, char separator)` Reads the parameters with the given name. If multiple values are found, a list is returned created.
`static void` | FormUtils.`getParameters(java.lang.String parametersString, java.util.Map<java.lang.String,java.lang.Object> parameters, CharacterSet characterSet, char separator)` Reads the parameters whose name is a key in the given map. If a matching parameter is found, its value is put in the map. If multiple values are found, a list is created and set in the map.
`static void` | FormUtils.`parse(Form form, java.lang.String parametersString, CharacterSet characterSet, boolean decode, char separator)` Parses a parameters string into a given form.
`float` | Conneg.`scoreCharacterSet(CharacterSet characterSet)` Scores a character set relatively to enriched client preferences.

Constructors in org.restlet.engine.util with parameters of type CharacterSet
Constructor and Description
`FormReader(java.lang.String parametersString, CharacterSet characterSet, char separator)` Constructor.

### Uses of CharacterSet in org.restlet.representation

Methods in org.restlet.representation that return CharacterSet
Modifier and Type | Method and Description
--- | ---
`CharacterSet` | Variant.`getCharacterSet()` Returns the character set or null if not applicable.

Methods in org.restlet.representation with parameters of type CharacterSet
Modifier and Type | Method and Description
--- | ---
`void` | Variant.`setCharacterSet(CharacterSet characterSet)` Sets the character set or null if not applicable. Note that when used with HTTP connectors, this property maps to the "Content-Type" header.
`void` | StringRepresentation.`setCharacterSet(CharacterSet characterSet)`

Constructors in org.restlet.representation with parameters of type CharacterSet
Constructor and Description
`AppendableRepresentation(java.lang.CharSequence text, MediaType mediaType, Language language, CharacterSet characterSet)` Constructor.
`StringRepresentation(java.lang.CharSequence text, MediaType mediaType, Language language, CharacterSet characterSet)` Constructor.

### Uses of CharacterSet in org.restlet.service

Methods in org.restlet.service that return CharacterSet
Modifier and Type | Method and Description
--- | ---
`CharacterSet` | MetadataService.`getCharacterSet(java.lang.String extension)` Returns the character set associated to this extension.
`CharacterSet` | MetadataService.`getDefaultCharacterSet()` Returns the default character set for textual representations.

Methods in org.restlet.service with parameters of type CharacterSet
Modifier and Type | Method and Description
--- | ---
`void` | MetadataService.`setDefaultCharacterSet(CharacterSet defaultCharacterSet)` Sets the default character set for local representations.

### Uses of CharacterSet in org.restlet.util

Methods in org.restlet.util that return CharacterSet
Modifier and Type | Method and Description
--- | ---
`CharacterSet` | WrapperRepresentation.`getCharacterSet()`

Methods in org.restlet.util with parameters of type CharacterSet
Modifier and Type | Method and Description
--- | ---
`void` | WrapperRepresentation.`setCharacterSet(CharacterSet characterSet)`