Class ClearByMimeMetadataFilter
java.lang.Object
org.apache.tika.config.ConfigBase
org.apache.tika.metadata.filter.MetadataFilter
org.apache.tika.metadata.filter.ClearByMimeMetadataFilter
- All Implemented Interfaces:
Serializable
This class clears the entire metadata object if the
mime matches the mime filter. The idea is that you might not want
to store/transmit metadata for images or specific file types.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class MetadataFilter
loadMethods inherited from class ConfigBase
buildComposite, buildComposite, buildCompositeOrNull, buildCompositeOrNull, buildSingle, buildSingle, configure, handleSettings
-
Constructor Details
-
ClearByMimeMetadataFilter
public ClearByMimeMetadataFilter() -
ClearByMimeMetadataFilter
-
-
Method Details
-
filter
- Specified by:
filterin classMetadataFilter- Throws:
TikaException
-
setMimes
-
getMimes
-