de.l3s.boilerpipe.extractors
Class DefaultExtractor

java.lang.Object
  extended by de.l3s.boilerpipe.extractors.ExtractorBase
      extended by de.l3s.boilerpipe.extractors.DefaultExtractor
All Implemented Interfaces:
BoilerpipeExtractor, BoilerpipeFilter

public class DefaultExtractor
extends ExtractorBase

A quite generic full-text extractor.

Author:
Christian Kohlsch??tter

Field Summary
static DefaultExtractor INSTANCE
           
 
Constructor Summary
DefaultExtractor()
           
 
Method Summary
static DefaultExtractor getInstance()
          Returns the singleton instance for DefaultExtractor.
 boolean process(TextDocument doc)
          Processes the given document doc.
 
Methods inherited from class de.l3s.boilerpipe.extractors.ExtractorBase
getText, getText, getText, getText, getText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final DefaultExtractor INSTANCE
Constructor Detail

DefaultExtractor

public DefaultExtractor()
Method Detail

getInstance

public static DefaultExtractor getInstance()
Returns the singleton instance for DefaultExtractor.


process

public boolean process(TextDocument doc)
                throws BoilerpipeProcessingException
Description copied from interface: BoilerpipeFilter
Processes the given document doc.

Parameters:
doc - The TextDocument that is to be processed.
Returns:
true if changes have been made to the TextDocument.
Throws:
BoilerpipeProcessingException