com.google.enterprise.adaptor
Interface DocumentTransform

All Known Implementing Classes:
CommandLineTransform, MetadataTransformExample

public interface DocumentTransform

Represents an individual transform in the transform pipeline.

Implementations should also typically have a static factory method with a single Map<String, String> argument for creating instances based on configuration.


Method Summary
 void transform(Metadata metadata, Map<String,String> params)
          Any changes to metadata and params will be passed on to subsequent transforms.
 

Method Detail

transform

void transform(Metadata metadata,
               Map<String,String> params)
Any changes to metadata and params will be passed on to subsequent transforms. This method must be thread-safe.