ccc.plugins.search.lucene
Class TxtExtractor

java.lang.Object
  extended by ccc.plugins.search.lucene.TxtExtractor
All Implemented Interfaces:
StreamAction, TextExtractor

public class TxtExtractor
extends java.lang.Object
implements TextExtractor

A text extractor for plain text files.

Author:
Civic Computing Ltd.

Field Summary
 
Fields inherited from interface ccc.plugins.search.TextExtractor
MAX_PAGES_TO_INDEX
 
Constructor Summary
TxtExtractor()
           
 
Method Summary
 void execute(java.io.InputStream is)
          Execute the action.
 java.lang.String getText()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TxtExtractor

public TxtExtractor()
Method Detail

execute

public void execute(java.io.InputStream is)
Execute the action.

Specified by:
execute in interface StreamAction
Parameters:
is - The input stream to operate on.

getText

public java.lang.String getText()

Specified by:
getText in interface TextExtractor


Copyright © 2010. All Rights Reserved.