public class RandomAccessFileUpload extends SliceUpload
| 限定符和类型 | 字段和说明 |
|---|---|
protected RandomAccessFile |
file |
BLOCK_SIZE, contentLength, currentUploadLength, host, httpClient, key, lastUploadLength, mimeType, token, triedTimes| 构造器和说明 |
|---|
RandomAccessFileUpload(File file,
String token,
String key,
String mimeType) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected UploadBlock |
buildNextBlockUpload() |
protected void |
clean() |
protected boolean |
hasNext() |
addSuccessLength, execute, getContentLength, getCurrentUploadLength, getLastUploadLength, mkCtx, mkfile, nextUploadBlock, sliceAndUploadprotected RandomAccessFile file
protected boolean hasNext()
hasNext 在类中 SliceUploadprotected UploadBlock buildNextBlockUpload() throws IOException
buildNextBlockUpload 在类中 SliceUploadIOExceptionprotected void clean()
throws Exception
clean 在类中 SliceUploadExceptionCopyright © 2014. All Rights Reserved.