|
Remote System Explorer DataStore Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IByteStreamHandler
The ByteStreamHandler interface is used to abstract file read and write operations across the network.
Method Summary | |
---|---|
String |
getId()
Returns the unique ID for this bytestream handler |
void |
receiveAppendedBytes(String remotePath,
byte[] buffer,
int size,
boolean binary)
Append a bytes to a file at a specified location. |
void |
receiveBytes(String remotePath,
byte[] buffer,
int size,
boolean binary)
Save a file in the specified location. |
Method Detail |
---|
String getId()
void receiveBytes(String remotePath, byte[] buffer, int size, boolean binary)
remotePath
- the path where to save the filebuffer
- the bytes to insert in the filesize
- the number of bytes to insertbinary
- indicates whether to save the bytes as binary or textvoid receiveAppendedBytes(String remotePath, byte[] buffer, int size, boolean binary)
remotePath
- the path where to save the filebuffer
- the bytes to append in the filesize
- the number of bytes to append in the filebinary
- indicates whether to save the bytes as binary or text
|
Remote System Explorer DataStore Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |