Package org.apache.tika.metadata.filter
Class MetadataFilter
java.lang.Object
org.apache.tika.config.ConfigBase
org.apache.tika.metadata.filter.MetadataFilter
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ClearByMimeMetadataFilter,CompositeMetadataFilter,DateNormalizingMetadataFilter,ExcludeFieldMetadataFilter,FieldNameMappingFilter,GeoPointMetadataFilter,IncludeFieldMetadataFilter,NoOpFilter,OpenNLPMetadataFilter,OptimaizeMetadataFilter,TikaEvalMetadataFilter
Filters the metadata in place after the parse
- Since:
- Apache Tika 1.25
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidstatic MetadataFilterLoads the metadata filter from the config file if it exists, otherwise returns NoOpFilterMethods inherited from class org.apache.tika.config.ConfigBase
buildComposite, buildComposite, buildSingle, buildSingle, configure, handleSettings
-
Constructor Details
-
MetadataFilter
public MetadataFilter()
-
-
Method Details
-
load
public static MetadataFilter load(Element root, boolean allowMissing) throws TikaConfigException, IOException Loads the metadata filter from the config file if it exists, otherwise returns NoOpFilter- Parameters:
root-- Returns:
- Throws:
TikaConfigExceptionIOException
-
filter
- Throws:
TikaException
-