org.sakaiproject.search.component.adapter.contenthosting
Class BaseContentDigester
java.lang.Object
org.sakaiproject.search.component.adapter.contenthosting.BaseContentDigester
- All Implemented Interfaces:
- ContentDigester
- Direct Known Subclasses:
- HtmlContentDigester, PDFContentDigester, PoiContentDigester, PPTContentDigester, SanslanContentDigester, TikaContentDigester, XLContentDigester
public abstract class BaseContentDigester
- extends Object
- implements ContentDigester
- Author:
- ieb
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
maxDigestSize
protected int maxDigestSize
BaseContentDigester
public BaseContentDigester()
init
public void init()
destroy
public void destroy()
accept
public boolean accept(String mimeType)
- Description copied from interface:
ContentDigester
- Can the mime type be handled by this digester
- Specified by:
accept in interface ContentDigester
- Returns:
getMimeTypes
public Map getMimeTypes()
- Returns:
- Returns the mimeTypes.
setMimeTypes
public void setMimeTypes(Map mimeTypes)
- Parameters:
mimeTypes - The mimeTypes to set.
getContentProducer
public ContentHostingContentProducer getContentProducer()
- Returns:
- Returns the contentProducer.
setContentProducer
public void setContentProducer(ContentHostingContentProducer contentProducer)
- Parameters:
contentProducer - The contentProducer to set.
getMaxDigestSize
public int getMaxDigestSize()
- Returns:
- Returns the maxDigestSize.
setMaxDigestSize
public void setMaxDigestSize(int maxDigestSize)
- Parameters:
maxDigestSize - The maxDigestSize to set.
Copyright © 2003-2012 Sakai Project. All Rights Reserved.