com.groupdocs.conversion.handler

Class ConvertedDocument

  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable


    public final class ConvertedDocument
    extends Object
    implements com.aspose.ms.System.IDisposable

    Class for handling converted document

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void dispose()
      Dispose ConvertedDocument class
      String getFileType()
      File type of the converted document
      int getPageCount()
      Pages count of the converted document
      void save(com.groupdocs.foundation.utils.wrapper.stream.GroupDocsOutputStream stream)
      Save converted document to stream
      void save(com.groupdocs.foundation.utils.wrapper.stream.GroupDocsOutputStream stream, int page)
      Save specific page from converted document to stream
      String save(String fileName)
      Save converted document to custom named file
      String save(String fileName, int page)
      Save specific page from converted document to custom named file
    • Constructor Detail

      • ConvertedDocument

        public ConvertedDocument(com.groupdocs.conversion.domain.IDocument document,
                         IOutputDataHandler outputDataHandler,
                         SaveOptions saveOptions)
    • Method Detail

      • dispose

        public void dispose()

        Dispose ConvertedDocument class

        Specified by:
        dispose in interface com.aspose.ms.System.IDisposable
      • save

        public void save(com.groupdocs.foundation.utils.wrapper.stream.GroupDocsOutputStream stream)

        Save converted document to stream

        Parameters:
        stream -
      • save

        public void save(com.groupdocs.foundation.utils.wrapper.stream.GroupDocsOutputStream stream,
                int page)

        Save specific page from converted document to stream

        Parameters:
        stream -
        page -
      • save

        public String save(String fileName)

        Save converted document to custom named file

        Parameters:
        fileName -
        Returns:
      • save

        public String save(String fileName,
                  int page)

        Save specific page from converted document to custom named file

        Parameters:
        fileName -
        page -
        Returns:
      • getFileType

        public String getFileType()

        File type of the converted document

        Returns:
      • getPageCount

        public int getPageCount()

        Pages count of the converted document

        Returns: