public static class StorageClient.UploadBuff extends Object implements UploadCallback
Constructor and Description |
---|
UploadBuff(byte[] fileBuff,
int offset,
int length)
constructor
|
Modifier and Type | Method and Description |
---|---|
int |
send(OutputStream out)
send file content callback function, be called only once when the file uploaded
|
public UploadBuff(byte[] fileBuff, int offset, int length)
fileBuff
- the file buff for uploadingpublic int send(OutputStream out) throws IOException
send
in interface UploadCallback
out
- output stream for writing file contentIOException
Copyright © 2018 lodsve. All rights reserved.