org.melati.util
Class HttpHeader.WordIterator

Package class diagram package HttpHeader.WordIterator
java.lang.Object
  extended by org.melati.util.HttpHeader.FieldIterator
      extended by org.melati.util.HttpHeader.WordIterator
All Implemented Interfaces:
Enumeration, Iterator
Enclosing class:
HttpHeader

public class HttpHeader.WordIterator
extends HttpHeader.FieldIterator

Iteration over HttpHeader.TokenAndQValues.


Constructor Summary
HttpHeader.WordIterator()
           
 
Method Summary
 Object nextToken()
          
 String nextWord()
           
 
Methods inherited from class org.melati.util.HttpHeader.FieldIterator
hasMoreElements, hasNext, next, nextElement, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpHeader.WordIterator

public HttpHeader.WordIterator()
Method Detail

nextWord

public String nextWord()
                throws HttpHeader.HttpHeaderException
Returns:
the next word
Throws:
HttpHeader.HttpHeaderException

nextToken

public Object nextToken()
                 throws HttpHeader.HttpHeaderException

Specified by:
nextToken in class HttpHeader.FieldIterator
Returns:
the next token or throws an exception
Throws:
HttpHeader.HttpHeaderException
See Also:
HttpHeader.FieldIterator.nextToken()


Copyright © 2000-2010 PanEris. All Rights Reserved.