From 5b96b8ce3a18156bb595954ed89d5b8530643172 Mon Sep 17 00:00:00 2001 From: zjz1993 <1429595365@qq.com> Date: Wed, 18 Sep 2019 17:14:18 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E5=88=A0=E5=8E=BBFRFile=E5=92=8Catta?= =?UTF-8?q?chment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fanruan/api/attachment/Attachment.java | 20 ------------------- .../com/fanruan/api/xml/component/FRFile.java | 13 ------------ 2 files changed, 33 deletions(-) delete mode 100644 src/main/java/com/fanruan/api/attachment/Attachment.java delete mode 100644 src/main/java/com/fanruan/api/xml/component/FRFile.java diff --git a/src/main/java/com/fanruan/api/attachment/Attachment.java b/src/main/java/com/fanruan/api/attachment/Attachment.java deleted file mode 100644 index e3e1e61..0000000 --- a/src/main/java/com/fanruan/api/attachment/Attachment.java +++ /dev/null @@ -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); - } -} diff --git a/src/main/java/com/fanruan/api/xml/component/FRFile.java b/src/main/java/com/fanruan/api/xml/component/FRFile.java deleted file mode 100644 index e62b732..0000000 --- a/src/main/java/com/fanruan/api/xml/component/FRFile.java +++ /dev/null @@ -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); - } -}