ccc.plugins.search.lucene
Class PdfLoader

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

public class PdfLoader
extends java.lang.Object
implements TextExtractor

A text extractor for PDF files.

Author:
Civic Computing Ltd.

Field Summary
 
Fields inherited from interface ccc.plugins.search.TextExtractor
MAX_PAGES_TO_INDEX
 
Constructor Summary
PdfLoader()
           
 
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

PdfLoader

public PdfLoader()
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.