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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic 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 © 2007–2019 The Apache Software Foundation. All rights reserved.