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

cn.novelweb.tool.upload.fastdfs.protocol.storage.ModifyCommandAbstract 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.ModifyRequest;

import java.io.InputStream;

/**
 * 

文件修改命令

*

2020-02-03 17:07

* * @author Dai Yuanchuan **/ public class ModifyCommandAbstract extends AbstractStorageCommand { /** * 文件修改命令 * * @param path 文件路径 * @param inputStream 输入流 * @param fileSize 文件大小 * @param fileOffset 开始位置 */ public ModifyCommandAbstract(String path, InputStream inputStream, long fileSize, long fileOffset) { super(); this.request = new ModifyRequest(inputStream, fileSize, path, fileOffset); // 输出响应 this.response = new BaseResponse() { }; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy