com.crystaldecisions.sdk.occa.infostore
Interface IStreamingFile


Deprecated.

public interface IStreamingFile

This object enables you to use streaming when transferring files from SAP BusinessObjects Enterprise.


Method Summary
 void closeFile()
          Deprecated. Closes the file and release the resources.
 boolean hasNextChunk()
          Deprecated. Returns a boolean indicating whether the file has any remaining chunks to transfers.
 byte[] nextChunk()
          Deprecated. Returns the next chunk of the file as a byte array.
 void openFile()
          Deprecated.  Open the file for streaming.
 

Method Detail

openFile

void openFile()
              throws SDKException
Deprecated. 

Open the file for streaming.

Throws:
SDKException - This is thrown if the process is unsuccessful.

hasNextChunk

boolean hasNextChunk()
                     throws SDKException
Deprecated. 
Returns a boolean indicating whether the file has any remaining chunks to transfers.

Returns:
A boolean indicating whether the file has any remaining chunks to transfers.
Throws:
SDKException - This is thrown if the process is unsuccessful.

nextChunk

byte[] nextChunk()
                 throws SDKException
Deprecated. 
Returns the next chunk of the file as a byte array.

Returns:
A byte[] array containing a chunk of the file's data.
Throws:
SDKException - This is thrown if the process is unsuccessful.

closeFile

void closeFile()
               throws SDKException
Deprecated. 
Closes the file and release the resources.

Throws:
SDKException - This is thrown if the process is unsuccessful.