|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.vgrs.xcode.util.InputIterator
public class InputIterator
Create an iterator over an InputStream object.
| Constructor Summary | |
|---|---|
InputIterator(java.io.InputStream r)
|
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Determine if the last line has already been read. |
java.lang.Object |
next()
Retrieve the next line of content. |
void |
remove()
Removes from the underlying collection the last element returned by the iterator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InputIterator(java.io.InputStream r)
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Object>true if the InputStream has been read completely.
public java.lang.Object next()
throws java.util.NoSuchElementException
next in interface java.util.Iterator<java.lang.Object>java.util.NoSuchElementException - If the InputStream has been read completely.
public void remove()
throws java.lang.UnsupportedOperationException
remove in interface java.util.Iterator<java.lang.Object>java.lang.UnsupportedOperationException - This exception is always thrown.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||