com.aspose.words

Interface IDocumentReaderPlugin

  • public interface IDocumentReaderPlugin 

Defines an interface for external reader plugins that can read a file into a document.

Method Summary
abstract voidread(java.io.InputStream src, LoadOptions loadOptions, Document document)
Reads the data from the specified stream into the Document instance.
 

    • Method Detail

      • read

        public abstract void read(java.io.InputStream src, LoadOptions loadOptions, Document document)
        Reads the data from the specified stream into the Document instance.
        Parameters:
        src - The source stream to read the document from.
        loadOptions - An additional load options to load the document.
        document - The instance of the Document class to read the data to. If the instance contains some content, it will be overridden by the data from the source stream