|
Fields inherited from class org.alfresco.repo.content.transform.AbstractContentTransformerLimits |
transformerDebug |
Fields inherited from class org.alfresco.repo.content.transform.ContentTransformerHelper |
transformerConfig |
Constructor Summary | ||
ComplexContentTransformer() |
Method Summary | ||
void |
afterPropertiesSet() Ensures that required properties have been set |
|
getComments(boolean available) Returns the transformer properties predefined (hard coded or implied) by this transformer. |
||
getIntermediateMimetypes() | ||
getIntermediateTransformers() | ||
protected TransformationOptionLimits |
getLimits(String sourceMimetype, String targetMimetype, TransformationOptions options) Returns the limits from this transformer combined with those of the first transformer in the chain. |
|
protected boolean |
isPageLimitSupported(String sourceMimetype, String targetMimetype, TransformationOptions options) Indicates if 'page' limits are supported by the first transformer in the chain. |
|
boolean |
isTransformable(String sourceMimetype, long sourceSize, String targetMimetype, TransformationOptions options) Indicates whether the provided source mimetype can be transformed into the target mimetype with the options specified by this content transformer. |
|
boolean |
isTransformableMimetype(String sourceMimetype, String targetMimetype, TransformationOptions options) Indicates if this transformer is able to transform the given source mimetype to the target mimetype. |
|
void |
setContentService(ContentService contentService) Sets the ContentService. |
|
void |
setIntermediateMimetypes(List<String> intermediateMimetypes) Set the intermediate mimetypes that the transformer must take the content through. |
|
void |
setTransformationOptionOverrides(Map<String,Serializable> transformationOptionOverrides) Sets any properties to be set on the TransformationOption as passed in. |
|
void |
setTransformers(List<ContentTransformer> transformers) The list of transformers to use. |
|
void |
transformInternal(ContentReader reader, ContentWriter writer, TransformationOptions options) Method to be implemented by subclasses wishing to make use of the common infrastructural code provided by this class. |
Methods inherited from class org.alfresco.repo.content.transform.AbstractContentTransformer2 |
checkTransformable, getExecutorService, getTransformationTime, getTransformationTime, isTransformationLimitedInternally, recordError, recordTime, recordTime, register, setAdditionalThreadTimout, setExecutorService, setMetadataExtracterConfig, setRegisterTransformer, setRegistry, setRetryTransformOnDifferentMimeType, setUseTimeoutThread, toString, transform, transform, transform |
Methods inherited from class org.alfresco.repo.content.transform.AbstractContentTransformerLimits |
getLimits, getLimits, getMaxPages, getMaxSourceSizeKBytes, getMaxSourceSizeKBytes, getPageLimit, getReadLimitKBytes, getReadLimitTimeMs, getTimeoutMs, isTransformable, isTransformableSize, setLimits, setMaxPages, setMaxSourceSizeKBytes, setMimetypeLimits, setPageLimit, setPageLimitsSupported, setReaderLimits, setReadLimitKBytes, setReadLimitTimeMs, setTimeoutMs, setTransformerDebug |
Methods inherited from class org.alfresco.repo.content.transform.ContentTransformerHelper |
deprecatedSetter, equals, getBeanName, getCommentsOnlySupports, getExtensionOrAny, getMimetype, getMimetypeService, getName, getSimpleName, hashCode, isExplicitTransformation, isSupportedTransformation, onlySupports, setBeanName, setExplicitTransformations, setMimetypeService, setSupportedTransformations, setTransformerConfig, setUnsupportedTransformations |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.alfresco.repo.content.transform.ContentTransformer |
getName, isExplicitTransformation |
If a single transformer is supplied, then it will still be used.
Implementation calls the deprecated overloaded method without the sourceSize parameter and then AbstractContentTransformerLimits.isTransformableSize(String, long, String, TransformationOptions).
|