Class ReversedLinesFileReader

java.lang.Object
org.apache.commons.io.input.ReversedLinesFileReader
All Implemented Interfaces:
Closeable, AutoCloseable

public class ReversedLinesFileReader extends Object implements Closeable
Reads lines in a file reversely (similar to a BufferedReader, but starting at the last line). Useful for e.g. searching in log files.

To build an instance, use ReversedLinesFileReader.Builder.

Since:
2.2
See Also: