Skip navigation links

Oracle Content Database Web Services Java API Reference for Oracle WebCenter Suite
10g (10.1.3.2)

B32189-01


oracle.ifs.fdk
Class FileContentManager

All Known Subinterfaces:
ExtendedFileContentManager

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.

Skip navigation links

Oracle Content Database Web Services Java API Reference for Oracle WebCenter Suite
10g (10.1.3.2)

B32189-01


Copyright © 2002, 2006, Oracle. All rights reserved.