SMILA 1.0 API documentation

org.eclipse.smila.connectivity.framework.compound
Interface CompoundHandler

All Known Implementing Classes:
AbstractCompoundHandler, ZipCompoundHandler

public interface CompoundHandler

The Interface CompoundHandler.


Method Summary
 Crawler extract(Record record, DataSourceConnectionConfig config)
          Extracts the elements of the given record and returns a Crawler over the extracted elements.
 java.util.Collection<java.lang.String> getSupportedMimeTypes()
          Gets the mime types the CompoundHandler is capable to extract.
 

Method Detail

getSupportedMimeTypes

java.util.Collection<java.lang.String> getSupportedMimeTypes()
Gets the mime types the CompoundHandler is capable to extract.

Returns:
a Collection of mime types the CompoundHandler is capable to extract.

extract

Crawler extract(Record record,
                DataSourceConnectionConfig config)
                throws CompoundException
Extracts the elements of the given record and returns a Crawler over the extracted elements.

Parameters:
record - the Record
config - the DataSourceConnectionConfig
Returns:
a Crawler interface over the extracted elements
Throws:
CompoundException - if any error occurs

SMILA 1.0 API documentation