Class StripBetweenTransformerConfig

java.lang.Object
com.norconex.importer.handler.BaseLabelableConfig
com.norconex.importer.handler.BaseDocHandlerConfig
com.norconex.importer.handler.transformer.impl.StripBetweenTransformerConfig
All Implemented Interfaces:
Labelable, ChunkedTextSupport

public class StripBetweenTransformerConfig extends BaseDocHandlerConfig implements ChunkedTextSupport

Strips any content found between a matching start and end strings. The matching strings are defined in pairs and multiple ones can be specified at once.

This class can be used as a pre-parsing (text content-types only) or post-parsing handlers.

The following will strip all text between (and including) these two HTML comments: <!-- SIDENAV_START --> and <!-- SIDENAV_END -->.

See Also: