Package org.restlet.engine.header
Class LanguageReader
- java.lang.Object
-
- org.restlet.engine.header.HeaderReader<org.restlet.data.Language>
-
- org.restlet.engine.header.LanguageReader
-
public class LanguageReader extends HeaderReader<org.restlet.data.Language>
Language header reader.- Author:
- Jerome Louvel
-
-
Constructor Summary
Constructors Constructor Description LanguageReader(java.lang.String header)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.restlet.data.Language
readValue()
Read the next value.-
Methods inherited from class org.restlet.engine.header.HeaderReader
addValues, canAdd, createParameter, createParameter, mark, peek, read, readActualNamedValue, readComment, readDate, readDigits, readHeader, readHeader, readNamedValue, readParameter, readQuotedString, readRawText, readRawValue, readToken, readValues, reset, skipParameterSeparator, skipSpaces, skipValueSeparator, unread
-
-
-
-
Method Detail
-
readValue
public org.restlet.data.Language readValue() throws java.io.IOException
Description copied from class:HeaderReader
Read the next value. There can be multiple values for a single header. Returns null by default.- Overrides:
readValue
in classHeaderReader<org.restlet.data.Language>
- Returns:
- The next value.
- Throws:
java.io.IOException
-
-