Class TailFilter

java.lang.Object
All Implemented Interfaces:
Closeable, AutoCloseable, Readable, ChainableReader, Parameterizable

public final class TailFilter extends BaseParamFilterReader implements ChainableReader
Reads the last n lines of a stream. (Default is last10 lines.) Example:
<tailfilter lines="3"/>
Or:
<filterreader classname="org.apache.tools.ant.filters.TailFilter">
   <param name="lines" value="3"/>
 </filterreader>