|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IStreamingDownloadFile
This object enables you to use streaming when transferring files from SAP BusinessObjects Enterprise.
| Method Summary | |
|---|---|
void |
closeFile()
Closes the file and release the resources. |
long |
getSize()
|
boolean |
hasNextChunk()
Returns a boolean indicating whether the file has any remaining chunks to transfers. |
byte[] |
nextChunk()
Returns the next chunk of the file as a byte array. |
void |
openFile()
Open the file for streaming. |
long |
skip(long numBytes)
|
| Method Detail |
|---|
void openFile()
throws SDKException
Open the file for streaming.
SDKException - This is thrown if the process is unsuccessful.
boolean hasNextChunk()
throws SDKException
boolean indicating whether the file has any remaining chunks to transfers.
boolean indicating whether the file has any remaining chunks to transfers.
SDKException - This is thrown if the process is unsuccessful.
byte[] nextChunk()
throws SDKException
byte[] array containing a chunk of the file's data.
SDKException - This is thrown if the process is unsuccessful.
void closeFile()
throws SDKException
SDKException - This is thrown if the process is unsuccessful.
long getSize()
throws SDKException
SDKException
long skip(long numBytes)
throws SDKException
SDKException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||