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

    • Constructor Summary

      Constructors 
      Constructor and Description
      ConvertedDocument(com.groupdocs.conversion.domain.IDocument document, com.groupdocs.conversion.domain.IHandlersProvider handlersProvider, com.groupdocs.conversion.options.save.SaveOptions saveOptions, long elapsed) 
    • Constructor Detail

      • ConvertedDocument

        public ConvertedDocument(com.groupdocs.conversion.domain.IDocument document,
                         com.groupdocs.conversion.domain.IHandlersProvider handlersProvider,
                         com.groupdocs.conversion.options.save.SaveOptions saveOptions,
                         long elapsed)
    • 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,
                  Integer 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:
      • getElapsed

        public long getElapsed()