Package | Description |
---|---|
org.apache.commons.io.input |
This package provides implementations of input classes, such as
InputStream and Reader . |
Modifier and Type | Class and Description |
---|---|
class |
TailerListenerAdapter
TailerListener Adapter. |
Modifier and Type | Field and Description |
---|---|
private TailerListener |
Tailer.listener
The listener to notify of events when tailing.
|
Modifier and Type | Method and Description |
---|---|
static Tailer |
Tailer.create(java.io.File file,
java.nio.charset.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(java.io.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.0s
|
static Tailer |
Tailer.create(java.io.File file,
TailerListener listener,
long delayMillis)
Creates and starts a Tailer for the given file, starting at the beginning of the file
|
static Tailer |
Tailer.create(java.io.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(java.io.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(java.io.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(java.io.File file,
TailerListener listener,
long delayMillis,
boolean end,
int bufSize)
Creates and starts a Tailer for the given file.
|
Constructor and Description |
---|
Tailer(java.io.File file,
java.nio.charset.Charset cset,
TailerListener listener,
long delayMillis,
boolean end,
boolean reOpen,
int bufSize)
Creates a Tailer for the given file, with a specified buffer size.
|
Tailer(java.io.File file,
TailerListener listener)
Creates a Tailer for the given file, starting from the beginning, with the default delay of 1.0s.
|
Tailer(java.io.File file,
TailerListener listener,
long delayMillis)
Creates a Tailer for the given file, starting from the beginning.
|
Tailer(java.io.File file,
TailerListener listener,
long delayMillis,
boolean end)
Creates a Tailer for the given file, with a delay other than the default 1.0s.
|
Tailer(java.io.File file,
TailerListener listener,
long delayMillis,
boolean end,
boolean reOpen)
Creates a Tailer for the given file, with a delay other than the default 1.0s.
|
Tailer(java.io.File file,
TailerListener listener,
long delayMillis,
boolean end,
boolean reOpen,
int bufSize)
Creates a Tailer for the given file, with a specified buffer size.
|
Tailer(java.io.File file,
TailerListener listener,
long delayMillis,
boolean end,
int bufSize)
Creates a Tailer for the given file, with a specified buffer size.
|