public class DirTailingAdaptor extends AbstractAdaptor implements Runnable
| Modifier and Type | Field and Description | 
|---|---|
| protected String | adaptorName | 
adaptorID, control, dest, type| Constructor and Description | 
|---|
| DirTailingAdaptor() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected String | getAdaptorAddCommand(File dir) | 
| String | getCurrentStatus()Return the adaptor's state Should not include class name or byte
 offset, which are written by caller. | 
| protected org.apache.commons.io.filefilter.IOFileFilter | getFileFilter()Returns  IOFileFilterconstructed using the wild character. | 
| String | parseArgs(String status) | 
| void | run() | 
| long | shutdown(AdaptorShutdownPolicy shutdownPolicy)Signals this adaptor to come to an orderly stop. | 
| void | start(long offset) | 
deregisterAndStop, getType, hardStop, parseArgs, shutdown, startprotected String adaptorName
public void start(long offset)
           throws AdaptorException
start in class AbstractAdaptorAdaptorExceptionprotected String getAdaptorAddCommand(File dir) throws IOException
IOExceptionpublic String getCurrentStatus()
AdaptorgetCurrentStatus in interface Adaptorpublic String parseArgs(String status)
parseArgs in class AbstractAdaptorpublic long shutdown(AdaptorShutdownPolicy shutdownPolicy) throws AdaptorException
Adaptorshutdown in interface AdaptorAdaptorExceptionprotected org.apache.commons.io.filefilter.IOFileFilter getFileFilter()
IOFileFilter constructed using the wild character. Subclasses can override this method 
 return their own version of IOFileFilter instance.IOFileFilter constructed using the wild character. Subclasses can override this method 
 return their own version of IOFileFilter instance.Copyright © 2014 Apache Software Foundation. All Rights Reserved.