public class ByteFileLines extends FileLines
PeekIterator.ElementaryPeekIterator<T>, PeekIterator.SimplePeekIterator<T>| Modifier and Type | Field and Description |
|---|---|
InputStream |
in
The stream to read the lines from
|
announceChars, br, maxCharsclosed, EMPTY, fetchedNextValue, next| Constructor and Description |
|---|
ByteFileLines(BufferedInputStream i)
Constructs FileLines from a BufferedReader (main constructor 2)
|
ByteFileLines(File f)
Constructs FileLines from a file
|
ByteFileLines(File f,
String announceMsg)
Constructs FileLines from a file, shows progress bar (main constructor 1)
|
ByteFileLines(InputStream i)
Constructs FileLines from a Reader
|
ByteFileLines(String f)
Constructs FileLines from a filename
|
ByteFileLines(String f,
String announceMsg)
Constructs FileLines from a filename, shows progress bar
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the reader
|
String |
internalNext()
Returns next line.
|
static void |
main(String[] args) |
finalize, find, find, findIgnoreCase, firstCharAfterSpace, iterator, numAllFileLines, numFileLines, readBetween, readBetween, readTo, readTo, readTo, readTo, readTo, readToBoundary, readToSpace, remove, scrollTo, scrollTo, scrollTo, toStringasList, asList, asSet, asSet, asSet, emptyIterator, hasNext, internalSilentNext, list, list, next, nextOrNull, numElements, numElements, peek, toString, toStringclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorforEachRemaining, hasNext, nextpublic InputStream in
public ByteFileLines(String f) throws IOException
IOExceptionpublic ByteFileLines(File f) throws IOException
IOExceptionpublic ByteFileLines(String f, String announceMsg) throws IOException
IOExceptionpublic ByteFileLines(File f, String announceMsg) throws IOException
IOExceptionpublic ByteFileLines(InputStream i)
public ByteFileLines(BufferedInputStream i)
public String internalNext()
FileLinesinternalNext in class FileLinespublic void close()
FileLinesCopyright © 2018. All rights reserved.