public class OOXMLThumbnailContentTransformer extends AbstractContentTransformer2
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NO_THUMBNAIL_PRESENT_IN_FILE |
transformerDebug| Constructor and Description |
|---|
OOXMLThumbnailContentTransformer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTransformable(java.lang.String sourceMimetype,
java.lang.String targetMimetype,
TransformationOptions options) |
protected void |
transformInternal(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options)
Method to be implemented by subclasses wishing to make use of the common infrastructural code
provided by this class.
|
checkTransformable, getTransformationTime, recordTime, register, setProperties, setRegistry, toString, transform, transform, transformgetBeanName, getLimits, getLimits, getLimits, getMaxPages, getMaxSourceSizeKBytes, getMaxSourceSizeKBytes, getMimetypeLimits, getPageLimit, getReadLimitKBytes, getReadLimitTimeMs, getTimeoutMs, isPageLimitSupported, isTransformable, isTransformableMimetype, isTransformableSize, setBeanName, setLimits, setMaxPages, setMaxSourceSizeKBytes, setMimetypeLimits, setPageLimit, setPageLimitsSuported, setReaderLimits, setReadLimitKBytes, setReadLimitTimeMs, setTimeoutMs, setTransformerDebuggetMimetype, getMimetypeService, isExplicitTransformation, isSupportedTransformation, setExplicitTransformations, setMimetypeService, setSupportedTransformationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisExplicitTransformationpublic static final java.lang.String NO_THUMBNAIL_PRESENT_IN_FILE
public boolean isTransformable(java.lang.String sourceMimetype,
java.lang.String targetMimetype,
TransformationOptions options)
isTransformable in interface ContentTransformerisTransformable in class AbstractContentTransformerLimitsprotected void transformInternal(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options)
throws java.lang.Exception
AbstractContentTransformer2transformInternal in class AbstractContentTransformer2reader - the source of the content to transformwriter - the target to which to write the transformed contentoptions - a map of options to use when performing the transformation. The map
will never be null.java.lang.Exception - exceptions will be handled by this class - subclasses can throw anythingCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.