|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DynamicAttachmentProvider

Provides the data for an attachment. Please note that there will be a strong reference retained for the provider for each Attachment it provides, so do try to keep the object light. Also, reuse objects if possible.
The Provider needs to be thread-safe.
| Method Summary | |
|---|---|
InputStream |
getAttachmentData(WikiContext context,
Attachment att)
Returns a stream of data for this attachment. |
| Method Detail |
|---|
InputStream getAttachmentData(WikiContext context,
Attachment att)
throws ProviderException,
IOException
context - A Wiki Contextatt - The Attachment for which the data should be received.
ProviderException - If something goes wrong internally
IOException - If something goes wrong when reading the data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||