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, handleSettings
public static MetadataFilter load(Element root, boolean allowMissing) throws TikaConfigException, IOException
root
- TikaConfigException
IOException
public abstract void filter(Metadata metadata) throws TikaException
TikaException
Copyright © 2007–2023 The Apache Software Foundation. All rights reserved.