|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.csource.fastdfs.StorageClient.UploadBuff
public static class StorageClient.UploadBuff
Upload file by file buff
Constructor Summary | |
---|---|
StorageClient.UploadBuff(byte[] fileBuff,
int offset,
int length)
constructor |
Method Summary | |
---|---|
int |
send(java.io.OutputStream out)
send file content callback function, be called only once when the file uploaded |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StorageClient.UploadBuff(byte[] fileBuff, int offset, int length)
fileBuff
- the file buff for uploadingMethod Detail |
---|
public int send(java.io.OutputStream out) throws java.io.IOException
send
in interface UploadCallback
out
- output stream for writing file content
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |