aQute.lib.collections
Class LineCollection
java.lang.Object
aQute.lib.collections.LineCollection
- All Implemented Interfaces:
- java.io.Closeable, java.util.Iterator<java.lang.String>
public class LineCollection
- extends java.lang.Object
- implements java.util.Iterator<java.lang.String>, java.io.Closeable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LineCollection
public LineCollection(java.io.InputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
LineCollection
public LineCollection(java.io.File in)
throws java.io.IOException
- Throws:
java.io.IOException
LineCollection
public LineCollection(java.io.Reader reader)
throws java.io.IOException
- Throws:
java.io.IOException
LineCollection
public LineCollection(java.io.BufferedReader reader)
throws java.io.IOException
- Throws:
java.io.IOException
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface java.util.Iterator<java.lang.String>
next
public java.lang.String next()
- Specified by:
next in interface java.util.Iterator<java.lang.String>
remove
public void remove()
- Specified by:
remove in interface java.util.Iterator<java.lang.String>
close
public void close()
throws java.io.IOException
- Specified by:
close in interface java.io.Closeable
- Throws:
java.io.IOException