()
| 42 | public String resumableFilePath; |
| 43 | |
| 44 | public boolean vaild(){ |
| 45 | if (resumableChunkSize < 0 || resumableTotalSize < 0 |
| 46 | || HttpUtils.isEmpty(resumableIdentifier) |
| 47 | || HttpUtils.isEmpty(resumableFilename) |
| 48 | || HttpUtils.isEmpty(resumableRelativePath)) { |
| 49 | return false; |
| 50 | } else { |
| 51 | return true; |
| 52 | } |
| 53 | } |
| 54 | public boolean checkIfUploadFinished() { |
| 55 | //check if upload finished |
| 56 | int count = (int) Math.ceil(((double) resumableTotalSize) / ((double) resumableChunkSize)); |
no test coverage detected