com.groupdocs.viewer.handler

Class ViewerHandler<T extends Page>

    • Field Detail

      • cacheDataHandler

        protected ICacheDataHandler cacheDataHandler

        The cache data handler.

      • engineType

        protected int engineType

        Html or Image engine type

      • inputDataHandler

        protected IInputDataHandler inputDataHandler

        The input data handler.

      • viewerConfig

        protected ViewerConfig viewerConfig

        The viewer configuration.

    • Constructor Detail

      • ViewerHandler

        public ViewerHandler(ViewerConfig viewerConfig,
                     int engineType)

        Initializes a new instance of the ViewerHandler{T} class.

        Parameters:
        viewerConfig - The viewer configuration.
        engineType - The engine type.
      • ViewerHandler

        public ViewerHandler(ViewerConfig viewerConfig,
                     int engineType,
                     com.groupdocs.foundation.utils.CultureInfo cultureInfo)

        Initializes a new instance of the ViewerHandler{T} class.

        Parameters:
        viewerConfig - The viewer configuration.
        engineType - The engine type.
        cultureInfo - The culture.
      • ViewerHandler

        public ViewerHandler(ViewerConfig viewerConfig,
                     int engineType,
                     IFileStorage fileStorage,
                     com.groupdocs.foundation.utils.CultureInfo cultureInfo)
        Initializes a new instance of the class.
        Parameters:
        viewerConfig - The viewer configuration.
        engineType - The engine type.
        fileStorage - The file storage.
      • ViewerHandler

        public ViewerHandler(ViewerConfig viewerConfig,
                     int engineType,
                     IInputDataHandler inputDataHandler,
                     ICacheDataHandler cacheDataHandler,
                     com.groupdocs.foundation.utils.CultureInfo cultureInfo)

        Initializes a new instance of the ViewerHandler{T} class.

        Parameters:
        viewerConfig - The viewer configuration.
        engineType - The engine type.
        cultureInfo - The viewer culture.
        inputDataHandler - The input data handler.
        cacheDataHandler - The cache data handler.
        Throws:
        com.groupdocs.viewer.exception.ArgumentNullException - viewerConfig