DataProvider
interface (and common implementations) for
loading PDF documents from arbitrary sources.
DataProvider | A data provider is allows PSPDFKit to load a PDF document for any custom source (e.g. |
ProgressDataProvider | ProgressDataProvider is an interface which should be implemented by any DataProvider that
should support providing document loading progress updates. |
UriDataProvider | A DataProvider that can return the source Uri it was created from. |
WritableDataProvider | WritableDataProvider is an interface which should be implemented by any DataProvider that
should support saving PDF documents. |
WritingStrategy | WritingStrategy is used by the OutputStreamAdapter to determine how writing to
the WritableDataProvider is handled. |
AssetDataProvider | Data provider for opening PDF documents directly from the app's assets. |
ContentResolverDataProvider | Data provider for opening PDF documents directly from a ContentProvider using Android's content resolver framework. |
ContextDataProvider | Abstract data provider that allows subclasses to retrieve the application context by calling
getContext() . |
DirectWritingStrategy | A WritingStrategy that immediately writes to the WritableDataProvider . |
InputStreamDataProvider | Abstract data provider that handles serving a PDF document from an InputStream. |
OutputStreamAdapter | The OutputStreamAdapter allows you to use a WritableDataProvider in APIs that
expect an OutputStream. |
OutputStreamAdapter.Builder | Creates instances of the OutputStreamAdapter . |
TempFileWritingStrategy | A WritingStrategy that writes to a temporary file and writes to the WritableDataProvider only when all data was written. |
WritableDataProvider.WriteMode | Describes possible write modes for the output. |