org.basex.build.fs.metadata
Class AbstractExtractor

java.lang.Object
  extended by org.basex.build.fs.metadata.AbstractExtractor
Direct Known Subclasses:
BMPExtractor, EMLExtractor, GIFExtractor, JPGExtractor, MP3Extractor, PNGExtractor, TIFExtractor, XMLExtractor

public abstract class AbstractExtractor
extends java.lang.Object

This is an abstract class for defining meta data extractors.

Author:
Workgroup DBIS, University of Konstanz 2005-09, ISC License, Christian Gruen

Constructor Summary
AbstractExtractor()
           
 
Method Summary
abstract  void extract(Builder build, java.io.File f)
          Extracts the file content.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractExtractor

public AbstractExtractor()
Method Detail

extract

public abstract void extract(Builder build,
                             java.io.File f)
                      throws java.io.IOException
Extracts the file content.

Parameters:
build - reference to the database builder
f - file to be visited
Throws:
java.io.IOException - I/O exception