public class ReverseFileByLineReader extends Object
| Constructor and Description |
|---|
ReverseFileByLineReader(File file,
int approxBytesPerLine) |
public ReverseFileByLineReader(File file, int approxBytesPerLine) throws IOException
file - must not be null.approxBytesPerLine - an estimate of the bytes per line.IOException - if the file cannot be read.public String readPreviousLine() throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionCopyright © 2014–2015. All rights reserved.