All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.novelweb.tool.upload.fastdfs.protocol.storage.TruncateCommandAbstract Maven / Gradle / Ivy

package cn.novelweb.tool.upload.fastdfs.protocol.storage;

import cn.novelweb.tool.upload.fastdfs.protocol.BaseResponse;
import cn.novelweb.tool.upload.fastdfs.protocol.storage.request.TruncateRequest;

/**
 * 

文件Truncate命令

*

2020-02-03 17:08

* * @author Dai Yuanchuan **/ public class TruncateCommandAbstract extends AbstractStorageCommand { /** * 文件Truncate命令 * * @param path 文件路径 * @param fileSize 文件大小 */ public TruncateCommandAbstract(String path, long fileSize) { super(); this.request = new TruncateRequest(path, fileSize); // 输出响应 this.response = new BaseResponse() { }; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy