org.restlet.engine.header
Class RecipientInfoReader

java.lang.Object
  extended by org.restlet.engine.header.HeaderReader<RecipientInfo>
      extended by org.restlet.engine.header.RecipientInfoReader

public class RecipientInfoReader
extends HeaderReader<RecipientInfo>

Recipient info header reader.

Author:
Jerome Louvel

Constructor Summary
RecipientInfoReader(String header)
          Constructor.
 
Method Summary
static void addValues(Header header, Collection<RecipientInfo> collection)
          Adds values to the given collection.
 RecipientInfo 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecipientInfoReader

public RecipientInfoReader(String header)
Constructor.

Parameters:
header - The header to read.
Method Detail

addValues

public static void addValues(Header header,
                             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 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 class HeaderReader<RecipientInfo>
Returns:
The next value.
Throws:
IOException


Copyright © 2005-2013 Restlet.