Class MCRSolrMimeTypeStrategy

java.lang.Object
org.mycore.solr.index.strategy.MCRSolrMimeTypeStrategy
All Implemented Interfaces:
MCRSolrFileStrategy

public class MCRSolrMimeTypeStrategy extends Object implements 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)