Package | Description |
---|---|
org.apache.commons.io.input |
This package provides implementations of input classes, such as
InputStream and Reader . |
Modifier and Type | Method and Description |
---|---|
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.0s
|
static Tailer |
Tailer.create(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(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.
|
Modifier and Type | Method and Description |
---|---|
void |
TailerListenerAdapter.init(Tailer tailer)
The tailer will call this method during construction,
giving the listener a method of stopping the tailer.
|
void |
TailerListener.init(Tailer tailer)
The tailer will call this method during construction,
giving the listener a method of stopping the tailer.
|
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.