public interface DynamicAttachmentProvider
The Provider needs to be thread-safe.
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getAttachmentData(Context context,
Attachment att)
Returns a stream of data for this attachment.
|
java.io.InputStream getAttachmentData(Context context, Attachment att) throws ProviderException, java.io.IOException
context - A Wiki Contextatt - The Attachment for which the data should be received.ProviderException - If something goes wrong internallyjava.io.IOException - If something goes wrong when reading the dataCopyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.