1. add iCloud解析

This commit is contained in:
QAIU
2024-11-04 14:18:56 +08:00
parent e54c15dad1
commit daa3c940ee
5 changed files with 109 additions and 6 deletions

View File

@@ -1,5 +1,7 @@
package cn.qaiu.entity;
import java.util.Map;
public class FileInfo {
/**
@@ -12,6 +14,16 @@ public class FileInfo {
*/
String fileId;
/**
* 文件大小(byte)
*/
Long size;
/**
* MIME类型
*/
String fileMIME;
/**
* 文件路径
*/
@@ -38,9 +50,9 @@ public class FileInfo {
Integer downloadCount;
/**
* 评论信息
* 扩展参数
*/
String comments;
Map<String, Object> extParameters;
public String getFileName() {
return fileName;
@@ -60,6 +72,24 @@ public class FileInfo {
return this;
}
public Long getSize() {
return size;
}
public FileInfo setSize(Long size) {
this.size = size;
return this;
}
public String getFileMIME() {
return fileMIME;
}
public FileInfo setFileMIME(String fileMIME) {
this.fileMIME = fileMIME;
return this;
}
public String getFilePath() {
return filePath;
}
@@ -105,12 +135,12 @@ public class FileInfo {
return this;
}
public String getComments() {
return comments;
public Map<String, Object> getExtParameters() {
return extParameters;
}
public FileInfo setComments(String comments) {
this.comments = comments;
public FileInfo setExtParameters(Map<String, Object> extParameters) {
this.extParameters = extParameters;
return this;
}
}