Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.repo.content.transform
Interface ContentTransformerWorker
All Known Implementing Classes:
RuntimeExecutableContentTransformerWorker

@org.alfresco.api.AlfrescoPublicApi
public interface ContentTransformerWorker
An interface that allows separation between the content transformer registry and the various third party subsystems performing the transformation.
Author:
dward

Method Summary
getComments(boolean available)
getVersionString()
          Gets a string returning product and version information.
boolean
isAvailable()
          Checks if this worker is available.
boolean
isTransformable(String sourceMimetype, String targetMimetype, TransformationOptions options)
          Unlike ContentTransformer.isTransformable(String, String, TransformationOptions) should not include the transformer name, as that is added by the ContentTransformer in the parent context.
void
transform(ContentReader reader, ContentWriter writer, TransformationOptions options)
Method Detail
isAvailable
boolean isAvailable()
Checks if this worker is available.
Returns:
true if it is available

getVersionString
String getVersionString()
Gets a string returning product and version information.
Returns:
the version string

isTransformable
boolean isTransformable(String sourceMimetype,
                        String targetMimetype,
                        TransformationOptions options)
Unlike ContentTransformer.isTransformable(String, String, TransformationOptions) should not include the transformer name, as that is added by the ContentTransformer in the parent context.

getComments
String getComments(boolean available)
See Also:
ContentTransformer.getComments(boolean)

transform
void transform(ContentReader reader,
               ContentWriter writer,
               TransformationOptions options)
        throws Exception
Throws:
Exception
See Also:
ContentTransformer.transform(ContentReader, ContentWriter, TransformationOptions)

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.