Package org.restlet.engine.header
Class RecipientInfoReader
- java.lang.Object
-
- org.restlet.engine.header.HeaderReader<RecipientInfo>
-
- org.restlet.engine.header.RecipientInfoReader
-
public class RecipientInfoReader extends HeaderReader<RecipientInfo>
Recipient info header reader.
-
-
Constructor Summary
Constructors Constructor Description RecipientInfoReader(java.lang.String header)Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidaddValues(Header header, java.util.Collection<RecipientInfo> collection)Adds values to the given collection.RecipientInforeadValue()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
-
addValues
public static void addValues(Header header, java.util.Collection<RecipientInfo> collection)
Adds values to the given collection.- Parameters:
header- The header to read.collection- The collection to update.
-
readValue
public RecipientInfo readValue() throws java.io.IOException
Description copied from class:HeaderReaderRead the next value. There can be multiple values for a single header. Returns null by default.- Overrides:
readValuein classHeaderReader<RecipientInfo>- Returns:
- The next value.
- Throws:
java.io.IOException
-
-