public abstract class MetadataFilter extends ConfigBase implements Serializable
| Constructor and Description |
|---|
MetadataFilter() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
filter(Metadata metadata) |
static MetadataFilter |
load(Element root,
boolean allowMissing)
Loads the metadata filter from the config file if it exists, otherwise returns NoOpFilter
|
buildComposite, buildComposite, buildSingle, buildSingle, configure, handleSettingspublic static MetadataFilter load(Element root, boolean allowMissing) throws TikaConfigException, IOException
root - TikaConfigExceptionIOExceptionpublic abstract void filter(Metadata metadata) throws TikaException
TikaExceptionCopyright © 2007–2023 The Apache Software Foundation. All rights reserved.