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

com.jeesuite.filesystem.sdk.fdfs.codec.FileUploadAppenderEncoder Maven / Gradle / Ivy

There is a newer version: 1.3.6
Show newest version
/**
 *
 */
package com.jeesuite.filesystem.sdk.fdfs.codec;

import com.jeesuite.filesystem.sdk.fdfs.FastdfsConstants;

import java.io.File;

/**
 * 上传追加文件请求
 *
 * @author liulongbiao
 */
public class FileUploadAppenderEncoder extends FileUploadEncoder {

    /**
     * @param file
     * @param pathIdx
     */
    public FileUploadAppenderEncoder(File file, byte pathIdx) {
        super(file, pathIdx);
    }

    /**
     * @param content
     * @param filename
     * @param length
     * @param pathIdx
     */
    public FileUploadAppenderEncoder(Object content, String filename, long length, byte pathIdx) {
        super(content, filename, length, pathIdx);
    }

    @Override
    protected byte cmd() {
        return FastdfsConstants.Commands.APPENDER_FILE_UPLOAD;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy