com.timeindexing.plugin
Class FtpServerLogLine

java.lang.Object
  extended bycom.timeindexing.plugin.DefaultReader
      extended bycom.timeindexing.plugin.Line
          extended bycom.timeindexing.plugin.FtpServerLogLine
All Implemented Interfaces:
ReaderPlugin

public class FtpServerLogLine
extends Line

A plugin that takes an input stream and returns a line at a time. The data is parsed as a Ftp log file, and it expects to see dates of the following format: Fri Jan 17 15:12:18 2003


Constructor Summary
FtpServerLogLine(java.io.BufferedReader inReader)
          Construct a FtpServerLogLine plugin from a BufferedReader.
FtpServerLogLine(java.io.InputStream inStream)
          Construct a FtpServerLogLine plugin from an InputStream.
FtpServerLogLine(java.io.Reader inReader)
          Construct a FtpServerLogLine plugin from a Reader.
 
Method Summary
protected  boolean eofProcess()
          Processing at EOF.
protected  ReaderPlugin init()
          Initialise the plugin
protected  ReaderResult process(java.lang.String line)
          Process the line
 
Methods inherited from class com.timeindexing.plugin.Line
read
 
Methods inherited from class com.timeindexing.plugin.DefaultReader
getInputStream, isEOF, setEOF, setInputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.timeindexing.plugin.ReaderPlugin
getInputStream, isEOF, setEOF, setInputStream
 

Constructor Detail

FtpServerLogLine

public FtpServerLogLine(java.io.InputStream inStream)
Construct a FtpServerLogLine plugin from an InputStream.


FtpServerLogLine

public FtpServerLogLine(java.io.Reader inReader)
Construct a FtpServerLogLine plugin from a Reader.


FtpServerLogLine

public FtpServerLogLine(java.io.BufferedReader inReader)
Construct a FtpServerLogLine plugin from a BufferedReader.

Method Detail

init

protected ReaderPlugin init()
Initialise the plugin


process

protected ReaderResult process(java.lang.String line)
Process the line

Overrides:
process in class Line

eofProcess

protected boolean eofProcess()
Processing at EOF. Return values states if something happended.

Overrides:
eofProcess in class Line