com.armatiek.infofuze.source.extractor
Class FileFileExtractor

java.lang.Object
  extended by com.armatiek.infofuze.source.extractor.FileExtractor
      extended by com.armatiek.infofuze.source.extractor.FileFileExtractor
All Implemented Interfaces:
IOFileFilter
Direct Known Subclasses:
BinaryFileExtractor, CompressedFileExtractor, CSVFileExtractor, UnparseableFileExtractor, XMLFileExtractor

public abstract class FileFileExtractor
extends FileExtractor

Abstract base class for classes that represents a concrete specific file extractor for files. The class implements IOFileFilter and thus can be used to determine if a specific FileIf is accepted by this extractor definition.

Author:
Maarten Kroon

Field Summary
 
Fields inherited from class com.armatiek.infofuze.source.extractor.FileExtractor
logger
 
Constructor Summary
FileFileExtractor(org.w3c.dom.Element configElem)
           
 
Method Summary
 boolean getCacheStream()
          Returns whether or not to cache te contents of internal streams.
 boolean getIncludeBinary()
          Returns whether or not to include a base64 encoded representation of the binary contents of files to the XML stream.
 
Methods inherited from class com.armatiek.infofuze.source.extractor.FileExtractor
accept
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileFileExtractor

public FileFileExtractor(org.w3c.dom.Element configElem)
                  throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getIncludeBinary

public boolean getIncludeBinary()
Returns whether or not to include a base64 encoded representation of the binary contents of files to the XML stream.


getCacheStream

public boolean getCacheStream()
Returns whether or not to cache te contents of internal streams.