|
Fields inherited from class org.alfresco.repo.content.transform.AbstractContentTransformerLimits |
transformerDebug |
Fields inherited from class org.alfresco.repo.content.transform.ContentTransformerHelper |
transformerConfig |
Constructor Summary | ||
FailoverContentTransformer() |
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. |
||
boolean |
isExplicitTransformation(String sourceMimetype, String targetMimetype, TransformationOptions options) | |
boolean |
isTransformable(String sourceMimetype, long sourceSize, String targetMimetype, TransformationOptions options) Overrides super class method to avoid calling isTransformableMimetype(String, String, TransformationOptions) twice on each transformer in the list, as isTransformableSize(String, long, String, TransformationOptions) in this class must check the mimetype too. |
|
boolean |
isTransformableMimetype(String sourceMimetype, String targetMimetype, TransformationOptions options) Indicates if this transformer is able to transform the given source mimetype to the target mimetype. |
|
boolean |
isTransformableSize(String sourceMimetype, long sourceSize, String targetMimetype, TransformationOptions options) Indicates if this transformer is able to transform the given sourceSize. |
|
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, setRegisterTransformer, setRegistry, setRetryTransformOnDifferentMimeType, setUseTimeoutThread, toString, transform, transform, transform |
Methods inherited from class org.alfresco.repo.content.transform.AbstractContentTransformerLimits |
getLimits, getLimits, getLimits, getMaxPages, getMaxSourceSizeKBytes, getMaxSourceSizeKBytes, getPageLimit, getReadLimitKBytes, getReadLimitTimeMs, getTimeoutMs, isPageLimitSupported, isTransformable, 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, 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 |
|