forked from fanruan/finekit
zjz1993
5 years ago
11 changed files with 132 additions and 6 deletions
@ -0,0 +1,20 @@
|
||||
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); |
||||
} |
||||
} |
@ -0,0 +1,23 @@
|
||||
package com.fanruan.api.cal.namespace; |
||||
import java.util.Collection; |
||||
|
||||
/** |
||||
* 生成一个链表类 |
||||
* */ |
||||
public class FArray<T> extends com.fr.general.FArray{ |
||||
public FArray(){ |
||||
|
||||
} |
||||
/** |
||||
* 通过使用一个无需集合生成的链表类 |
||||
* */ |
||||
public FArray(Collection<T> collection) { |
||||
super(collection); |
||||
} |
||||
/** |
||||
* 通过使用一个数组生成的链表类 |
||||
* */ |
||||
public FArray(T[] array) { |
||||
super(array); |
||||
} |
||||
} |
@ -0,0 +1,13 @@
|
||||
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…
Reference in new issue