public class LineCollection
extends java.lang.Object
implements java.util.Iterator<java.lang.String>, java.io.Closeable
| Constructor and Description |
|---|
LineCollection(java.io.BufferedReader reader) |
LineCollection(java.io.File in) |
LineCollection(java.io.InputStream in) |
LineCollection(java.io.Reader reader) |
public LineCollection(java.io.InputStream in)
throws java.io.IOException
java.io.IOExceptionpublic LineCollection(java.io.File in)
throws java.io.IOException
java.io.IOExceptionpublic LineCollection(java.io.Reader reader)
throws java.io.IOException
java.io.IOExceptionpublic LineCollection(java.io.BufferedReader reader)
throws java.io.IOException
java.io.IOExceptionpublic boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.String>public java.lang.String next()
next in interface java.util.Iterator<java.lang.String>public void remove()
remove in interface java.util.Iterator<java.lang.String>public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionCopyright (c) aQute SARL (2000, 2017) and others. All Rights Reserved.