Package org.mycore.solr.index.strategy
Class MCRSolrMimeTypeStrategy
java.lang.Object
org.mycore.solr.index.strategy.MCRSolrMimeTypeStrategy
- All Implemented Interfaces:
MCRSolrFileStrategy
Strategy that depends on a files mime type. By default images are
ignored. You can use the MCR.Solr.MimeTypeStrategy.Pattern property to
set an application specific pattern. Be aware that this is the ignore
pattern, the
check(Path, BasicFileAttributes)
method will return false if it
matches.- Author:
- Matthias Eichner, Thomas Scheffler (yagee)
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MCRSolrMimeTypeStrategy
public MCRSolrMimeTypeStrategy()
-
-
Method Details
-
check
- Specified by:
check
in interfaceMCRSolrFileStrategy
-