Class FileTransformerFactory


  • public class FileTransformerFactory
    extends Object
    Provides IFileTransformer instances.
    Since:
    6.1.0
    Version:
    $Revision: 23034 $ $Date: 2019-08-05 16:52:47 -0300 (Mon, 05 Aug 2019) $
    • Constructor Detail

      • FileTransformerFactory

        public FileTransformerFactory()
    • Method Detail

      • getTransformer

        public IFileTransformer getTransformer​(String serviceInstanceId)
                                        throws PortalException
        Returns the proper transformer.
        Returns a customized extractor if defined else returns the default content extractor.
        Parameters:
        serviceInstanceId - the service instance source of the file to be converted.
        Returns:
        a customized extractor if defined else returns the default file transformer.
        Throws:
        PortalException
        Since:
        6.1.0