public class FileTailerListener
extends org.apache.commons.io.input.TailerListenerAdapter
| Constructor and Description |
|---|
FileTailerListener(String fileName,
org.wso2.carbon.event.input.adapter.core.InputEventAdapterListener inputEventAdapterListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
fileNotFound() |
int |
getTenantId() |
void |
handle(Exception ex) |
void |
handle(String line) |
void |
init(org.apache.commons.io.input.Tailer tailer) |
void |
setTenantId(int tenantId) |
public FileTailerListener(String fileName, org.wso2.carbon.event.input.adapter.core.InputEventAdapterListener inputEventAdapterListener)
public void init(org.apache.commons.io.input.Tailer tailer)
init in interface org.apache.commons.io.input.TailerListenerinit in class org.apache.commons.io.input.TailerListenerAdapterpublic void handle(String line)
handle in interface org.apache.commons.io.input.TailerListenerhandle in class org.apache.commons.io.input.TailerListenerAdapterpublic void fileNotFound()
fileNotFound in interface org.apache.commons.io.input.TailerListenerfileNotFound in class org.apache.commons.io.input.TailerListenerAdapterpublic void handle(Exception ex)
handle in interface org.apache.commons.io.input.TailerListenerhandle in class org.apache.commons.io.input.TailerListenerAdapterpublic int getTenantId()
public void setTenantId(int tenantId)
Copyright © 2015 WSO2. All rights reserved.