websocket 生成完整的文件
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package com.vetti.socket.vo;
|
||||
|
||||
/**
|
||||
* 文件元数据类
|
||||
*/
|
||||
public class FileMetadata {
|
||||
|
||||
private String fileName;
|
||||
private long totalSize;
|
||||
private int totalParts;
|
||||
|
||||
// getter和setter方法
|
||||
public String getFileName() { return fileName; }
|
||||
public void setFileName(String fileName) { this.fileName = fileName; }
|
||||
public long getTotalSize() { return totalSize; }
|
||||
public void setTotalSize(long totalSize) { this.totalSize = totalSize; }
|
||||
public int getTotalParts() { return totalParts; }
|
||||
public void setTotalParts(int totalParts) { this.totalParts = totalParts; }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user