mirror of
https://github.com/Febbweiss/logstash-forwarder-java.git
synced 2026-03-04 22:25:39 +00:00
Implemented FileReader.
This commit is contained in:
@@ -34,6 +34,7 @@ public class FileState {
|
||||
private long pointer = 0;
|
||||
private FileState oldFileState;
|
||||
private String fileName;
|
||||
private Event fields;
|
||||
|
||||
public FileState(File file) throws IOException {
|
||||
this.file = file;
|
||||
@@ -115,5 +116,13 @@ public class FileState {
|
||||
public String getFileName() {
|
||||
return fileName;
|
||||
}
|
||||
|
||||
public Event getFields() {
|
||||
return fields;
|
||||
}
|
||||
|
||||
public void setFields(Event fields) {
|
||||
this.fields = fields;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user