Class MetadataListFilter
- java.lang.Object
-
- org.apache.tika.config.ConfigBase
-
- org.apache.tika.metadata.listfilter.MetadataListFilter
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CompositeMetadataListFilter
,NoOpListFilter
public abstract class MetadataListFilter extends ConfigBase implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MetadataListFilter()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract List<Metadata>
filter(List<Metadata> metadataList)
static MetadataListFilter
load(Element root, boolean allowMissing)
Loads the metadata list filter from the config file if it exists, otherwise returns NoOpFilter-
Methods inherited from class org.apache.tika.config.ConfigBase
buildComposite, buildComposite, buildSingle, buildSingle, configure, handleSettings
-
-
-
-
Method Detail
-
load
public static MetadataListFilter load(Element root, boolean allowMissing) throws TikaConfigException, IOException
Loads the metadata list filter from the config file if it exists, otherwise returns NoOpFilter- Parameters:
root
-- Returns:
- Throws:
TikaConfigException
IOException
-
filter
public abstract List<Metadata> filter(List<Metadata> metadataList) throws TikaException
- Throws:
TikaException
-
-