|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ByteStreamHandler interface is used to abstract file read and write operations across the network.
Field Summary | |
---|---|
static String |
Copyright
|
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. |
Field Detail |
public static final String Copyright
Method Detail |
public String getId()
public 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 textpublic void 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 Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |