Package 

Interface DocumentSource


  • 
    public interface DocumentSource
    
                        

    A functional interface representing a source for creating a PDF document. Implementations handle opening and loading the document from various sources.

    • Method Summary

      Modifier and Type Method Description
      abstract Long createDocument(Context context, PdfiumCore core, String password) Creates a PDF document from this source.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createDocument

         abstract Long createDocument(Context context, PdfiumCore core, String password)

        Creates a PDF document from this source.

        Parameters:
        context - The application context.
        core - The {@link PdfiumCore} instance for document handling.
        password - The password to open the document, if required.