Class FileTransformerFactory


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IFileTransformer getTransformer​(java.lang.String serviceInstanceId)
      Returns the proper transformer.
      Returns a customized extractor if defined else returns the default content extractor.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileTransformerFactory

        public FileTransformerFactory()
    • Method Detail

      • getTransformer

        public IFileTransformer getTransformer​(java.lang.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