Package aQute.lib.collections
Class LineCollection
java.lang.Object
aQute.lib.collections.LineCollection
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterator<String>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLineCollection
(BufferedReader reader) LineCollection
(File in) LineCollection
(Reader reader) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
reader
-
next
-
-
Constructor Details
-
LineCollection
- Throws:
IOException
-
LineCollection
- Throws:
IOException
-
LineCollection
- Throws:
IOException
-
LineCollection
- Throws:
IOException
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove() -
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-