com.groupdocs.viewer.results

Class ViewInfo

    • Constructor Detail

      • ViewInfo

        public ViewInfo(FileType fileType,
                List<Page> pages)

        Initializes new instance of ViewInfo class.

        Parameters:
        fileType - The type of the file.
        pages - The list of pages to view.
        Throws:
        IllegalArgumentException - Thrown when pages is null.
    • Method Detail

      • getFileType

        public final FileType getFileType()
        The type of the file.
        Returns:
        The type of the file.
      • getPages

        public final List<Page> getPages()
        The list of pages to view.
        Returns:
        The list of pages to view.
      • toString

        public String toString()

        Returns a string that represents the current object.

        Overrides:
        toString in class Object
        Returns:
        A string that represents the current object.