List of usage examples for org.apache.commons.io.input TailerListener interface-usage
From source file org.dodjsoft.tail.TailFilePanel.java
/** * * @author Richard Dodd */ public class TailFilePanel extends javax.swing.JPanel implements TailerListener {
From source file org.springframework.integration.file.tail.ApacheCommonsFileTailingMessageProducer.java
/**
* File tailer that delegates to the Apache Commons Tailer.
*
* @author Gary Russell
* @since 3.0
*
From source file org.cloudifysource.usm.liveness.FileTailerListener.java
/**
* An implementation for TailerListener. The FileListener will check each
* new line written to the file and raise a flag if the desired regular expression
* was found.
*
* @author adaml
From source file io.github.importre.android.chromeadb.ChromeAdbService.java
public class ChromeAdbService extends Service implements TailerListener { private File mEventFile = new File("/sdcard/chromeadb.event"); private ImageView mCursorImage; private String mPrevLine; private Tailer mTailer;
From source file flens.input.GrepInput.java
public class GrepInput extends AbstractActiveInput implements TailerListener { private Tailer tailer; private Pattern regex; private boolean tailFromEnd; private long delay = 1000;
From source file org.syncany.operations.daemon.DaemonControlServer.java
/**
* The control server watches the daemon control file for changes and
* reacts on certain commands.
*
* <p>Although it is not a real socket, it can be seen as a cross-platform
* unix-like socket. Due to the nature of the commands in the control
From source file org.syncany.operations.daemon.ControlServer.java
/**
* The control server watches the daemon control file for changes and
* reacts on certain commands.
*
* <p>Although it is not a real socket, it can be seen as a cross-platform
* unix-like socket. Due to the nature of the commands in the control
From source file cz.msebera.unbound.dns.fragments.MainLogFragment.java
public final class MainLogFragment extends Fragment implements TailerListener { static final String TAG = "MainLogFragment"; static final int MENU_CLEAR = 0xfab; static final int MENU_EMPTY = 0xbaf; private TextView mTextArea;
From source file io.narayana.nta.logparsing.common.LogParser.java
/** * @Author Alex Creasy <a.r.creasy@newcastle.ac.uk$gt; * Date: 25/04/2013 * Time: 16:49 */ public final class LogParser implements TailerListener {
From source file com.betfair.testing.utils.cougar.manager.LogTailer.java
public abstract class LogTailer<T extends LogTailer.LogRequirement> implements TailerListener { private final Logger logger = LoggerFactory.getLogger(getClass()); public static final String DATE_FIELD = "_DATE_FIELD"; private final AtomicLong idSource = new AtomicLong();