public interface TailerListener
Tailer
.Modifier and Type | Method and Description |
---|---|
void |
fileNotFound()
This method is called if the tailed file is not found.
|
void |
fileRotated()
Called if a file rotation is detected.
|
void |
handle(java.lang.Exception ex)
Handles an Exception .
|
void |
handle(java.lang.String line)
Handles a line from a Tailer.
|
void |
init(Tailer tailer)
The tailer will call this method during construction,
giving the listener a method of stopping the tailer.
|
void init(Tailer tailer)
tailer
- the tailer.void fileNotFound()
Note: this is called from the tailer thread.
void fileRotated()
Note: this is called from the tailer thread.
void handle(java.lang.String line)
Note: this is called from the tailer thread.
line
- the line.void handle(java.lang.Exception ex)
Note: this is called from the tailer thread.
ex
- the exception."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"