Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.ifs.fdk
Class FileContentManager

All Known Subinterfaces:
  ExtendedFileContentManager

All Known Implementing Classes:
  CoreFileContentManager, FileContentManagerImpl

    public interface class FileContentManager

Interface for accessing file content.

Method Summary
`java.io.InputStream` | `getContent(long id)` Returns the contents of an item identified by the given ID.

Method Detail

### getContent

    java.io.InputStream getContent(long id)
                                   throws FdkException

  Description copied from interface: `FileContentManager`
  Returns the contents of an item identified by the given ID. In general only documents and links to documents return content, if any. For all items that do not have content `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.

  Parameters:
    `id` - The ID of the item to get the content for.
  Returns:
    The content as an `InputStream` or `null` if the item has no content. The caller must `close()` the stream when no longer needed.
  Throws:
    `FdkException` - if the operation fails.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD