public class HtmlIterator extends Object implements Iterator<HtmlElement>
Constructor and Description |
---|
HtmlIterator(InputStream is)
Convert InputStream into a series of HtmlElement tokens, using the systems
default character encoding
|
HtmlIterator(InputStream is,
String encoding)
Convert InputStream into a series of HtmlElement tokens, using the provided
character encoding
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
searches for and indicates whether the next HtmlElement has been found.
|
HtmlElement |
next() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
public HtmlIterator(InputStream is)
is
- public HtmlIterator(InputStream is, String encoding)
is
- encoding
- public boolean hasNext()
hasNext
in interface Iterator<HtmlElement>
public HtmlElement next()
next
in interface Iterator<HtmlElement>
Copyright © 2010 - 2020 Adobe. All Rights Reserved