public class EncodingReader extends HeaderReader<Encoding>
| Constructor and Description |
|---|
EncodingReader(String header)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canAdd(Encoding value,
Collection<Encoding> values)
Indicates if the value can be added the the list.
|
Encoding |
readValue()
Read the next value.
|
addValues, createParameter, createParameter, mark, peek, read, readActualNamedValue, readComment, readDate, readDigits, readHeader, readHeader, readNamedValue, readParameter, readQuotedString, readRawText, readRawValue, readToken, readValues, reset, skipParameterSeparator, skipSpaces, skipValueSeparator, unreadpublic EncodingReader(String header)
header - The header to read.protected boolean canAdd(Encoding value, Collection<Encoding> values)
HeaderReaderEncoding.IDENTITY constants for example. By default it
returns true for non null values.canAdd in class HeaderReader<Encoding>value - The value to add.values - The target collection.public Encoding readValue() throws IOException
HeaderReaderreadValue in class HeaderReader<Encoding>IOExceptionCopyright © 2005–2025. All rights reserved.