com.groupdocs.watermark.legacy

Interfaces

Classes

Exceptions

com.groupdocs.watermark.legacy

Class PreviewFactory


  • Deprecated.

    @Deprecated
    public class PreviewFactory
    extends Object

    Provides a set of methods for creating instances of appropriate preview handlers.

    • Constructor Detail

      • PreviewFactory

        public PreviewFactory()
        Deprecated. 
    • Method Detail

      • load

        public static PreviewHandler load(InputStream stream)
        Deprecated. 

        Creates an appropriate preview handler from the specified stream.

        Parameters:
        stream - The stream containing a document to preview.
        Returns:
        An instance of an appropriate descendant of the PreviewHandler class.
      • load

        public static PreviewHandler load(String filePath)
        Deprecated. 

        Creates an appropriate preview handler from the specified file.

        Parameters:
        filePath - The file containing a document to preview.
        Returns:
        An instance of an appropriate descendant of the PreviewHandler class.