public interface FileContentManager
Modifier and Type | Method and Description |
---|---|
InputStream |
getContent(long id)
Returns the contents of an item identified by the given ID.
|
InputStream getContent(long id) throws FdkException
null
will be returned or and exception
may be raised, depending on the type of the item.
The caller must call close()
on the returned
InputStream
when no longer needed.
id
- The ID of the item to get the content for.InputStream
or null
if the item has no content. The caller must close()
the stream when no longer needed.FdkException
- if the operation fails.Copyright © 2023. All rights reserved.