????
org.apache.commons.io.input.Tailer
??Tailer????
???
??
This package provides implementations of input classes, such as
InputStream
and Reader
.-
org.apache.commons.io.input?Tailer???
??????????static Tailer
Tailer.create
(File file, Charset charset, TailerListener listener, long delayMillis, boolean end, boolean reOpen, int bufSize) Creates and starts a Tailer for the given file.static Tailer
Tailer.create
(File file, TailerListener listener) Creates and starts a Tailer for the given file, starting at the beginning of the file with the default delay of 1.0sstatic Tailer
Tailer.create
(File file, TailerListener listener, long delayMillis) Creates and starts a Tailer for the given file, starting at the beginning of the filestatic Tailer
Tailer.create
(File file, TailerListener listener, long delayMillis, boolean end) Creates and starts a Tailer for the given file with default buffer size.static Tailer
Tailer.create
(File file, TailerListener listener, long delayMillis, boolean end, boolean reOpen) Creates and starts a Tailer for the given file with default buffer size.static Tailer
Tailer.create
(File file, TailerListener listener, long delayMillis, boolean end, boolean reOpen, int bufSize) Creates and starts a Tailer for the given file.static Tailer
Tailer.create
(File file, TailerListener listener, long delayMillis, boolean end, int bufSize) Creates and starts a Tailer for the given file.?????Tailer?org.apache.commons.io.input??????????????void
The tailer will call this method during construction, giving the listener a method of stopping the tailer.void
The tailer will call this method during construction, giving the listener a method of stopping the tailer.