Android
org.apache.http
public interface

org.apache.http.TokenIterator

org.apache.http.TokenIterator Iterator<E>

An iterator for String tokens. This interface is designed as a complement to HeaderElementIterator, in cases where the items are plain strings rather than full header elements.

Known Indirect Subclasses

Summary

Public Methods

          boolean  hasNext()
Indicates whether there is another token in this iteration.
          String  nextToken()
Obtains the next token from this iteration.
Methods inherited from interface java.util.Iterator

Details

Public Methods

public boolean hasNext()

Indicates whether there is another token in this iteration.

Returns

  • true if there is another token, false otherwise

public String nextToken()

Obtains the next token from this iteration. This method should only be called while hasNext is true.

Returns

  • the next token in this iteration
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48