com.timeindexing.appl
Class TIAppend

java.lang.Object
  extended by com.timeindexing.appl.TIAppend

public class TIAppend
extends java.lang.Object

Append to a timeindex file from a file or stdin.

Args are -p plugin, one of line, web, mail, ftp, file -c plugin class, e.g. com.timeindexing.plugin.FileItem index file input file, use - for stdin


Constructor Summary
TIAppend(IndexProperties properties, java.lang.String tiFileName, java.lang.String inputFileName)
          Build a TIAppend object with a timeindex filename and an input filename.
 
Method Summary
 boolean append()
          Actually append the index.
static void help(java.io.PrintStream out)
          Print out some help
static void main(java.lang.String[] args)
          Entry point
 boolean setup(IndexProperties setupProperties, java.lang.String tiFileName, java.io.InputStream input)
          Append the output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TIAppend

public TIAppend(IndexProperties properties,
                java.lang.String tiFileName,
                java.lang.String inputFileName)
Build a TIAppend object with a timeindex filename and an input filename. If the input filename is "-", use stdin.

Method Detail

main

public static void main(java.lang.String[] args)
Entry point


help

public static void help(java.io.PrintStream out)
Print out some help


setup

public boolean setup(IndexProperties setupProperties,
                     java.lang.String tiFileName,
                     java.io.InputStream input)
Append the output.


append

public boolean append()
Actually append the index.



Timeindexing 2008