Browse Source

update: 删去FRFile和attachment

remotes/1611766341912730171/master
zjz1993 5 years ago
parent
commit
5b96b8ce3a
  1. 20
      src/main/java/com/fanruan/api/attachment/Attachment.java
  2. 13
      src/main/java/com/fanruan/api/xml/component/FRFile.java

20
src/main/java/com/fanruan/api/attachment/Attachment.java

@ -1,20 +0,0 @@
package com.fanruan.api.attachment;
import com.fr.cache.AttachmentFileBase;
/**
* 附件信息类用来存储FR中的各种附件
* */
public class Attachment extends com.fr.cache.Attachment{
/**
* 根据给定的编号类型文件名和二进制数组创建一个附件对象
* */
public Attachment(String id, String type, String filename, AttachmentFileBase attachmentFileBase){
super(id, type, filename, attachmentFileBase);
}
/**
* 根据给定的编号类型文件名二进制数组宽度和高度创建一个附件对象
* */
public Attachment(String id, String type, String filename, AttachmentFileBase attachmentFileBase, int width, int height){
super(id, type, filename, attachmentFileBase, width, height);
}
}

13
src/main/java/com/fanruan/api/xml/component/FRFile.java

@ -1,13 +0,0 @@
package com.fanruan.api.xml.component;
/**
* FR文件类用于表示具有指定名字类型和内容的文件
* */
public class FRFile extends com.fr.stable.xml.FRFile{
/**
* 根据指定的文件类型文件名以及文件内容生成一个文件
* */
public FRFile(String type, String filename, byte[] bytes){
super(type, filename, bytes);
}
}
Loading…
Cancel
Save