public class TruncateRequest extends BaseRequest
2020-02-03 16:57
head, inputFile| 构造器和说明 |
|---|
TruncateRequest(String path,
long fileSize)
文件Truncate命令
|
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
encodeParam(Charset charset)
打包参数
|
long |
getFileSize() |
String |
getPath() |
long |
getPathSize() |
void |
setFileSize(long fileSize) |
void |
setPath(String path) |
void |
setPathSize(long pathSize) |
String |
toString() |
public TruncateRequest(String path, long fileSize)
path - 文件路径fileSize - 截取文件长度public byte[] encodeParam(Charset charset)
encodeParam 在类中 BaseRequestpublic long getPathSize()
public void setPathSize(long pathSize)
public String getPath()
public void setPath(String path)
public void setFileSize(long fileSize)
public long getFileSize()
getFileSize 在类中 BaseRequestCopyright © 2021. All rights reserved.