public interface AttachmentCacheManagerProvider
限定符和类型 | 方法和说明 |
---|---|
Attachment |
addAttachment(java.lang.String type,
java.lang.String filename,
byte[] bytes)
添加附件到内存中
|
Attachment |
addAttachment(java.lang.String type,
java.lang.String filename,
byte[] bytes,
int width,
int height)
添加附件到内存中
|
Attachment |
addAttachment(java.lang.String type,
java.lang.String filename,
ValueGetter<byte[]> blobDelegate)
添加附件到内存中
|
Attachment |
addAttachment(java.lang.String type,
java.lang.String fileName,
ValueGetter<byte[]> bd,
int width,
int height)
添加附件到内存中
|
Attachment |
addAttachmentViaStream(java.lang.String type,
java.lang.String filename,
AttachmentFileBase attachmentFileBase,
int width,
int height) |
Attachment |
getAttachment(java.lang.String id)
根据钥匙获取附件
|
Attachment addAttachment(java.lang.String type, java.lang.String filename, byte[] bytes)
type
- 附件类型filename
- 附件名称bytes
- 附件内容Attachment addAttachment(java.lang.String type, java.lang.String filename, ValueGetter<byte[]> blobDelegate)
type
- 附件类型filename
- 附件名称blobDelegate
- 是一个Blob对象代理Attachment addAttachment(java.lang.String type, java.lang.String fileName, ValueGetter<byte[]> bd, int width, int height)
type
- 附件类型fileName
- 附件名称bd
- 附件内容width
- 控件宽度height
- 控件高度Attachment addAttachment(java.lang.String type, java.lang.String filename, byte[] bytes, int width, int height)
type
- 附件类型filename
- 附件名称bytes
- 附件内容width
- 控件宽度height
- 控件高度Attachment addAttachmentViaStream(java.lang.String type, java.lang.String filename, AttachmentFileBase attachmentFileBase, int width, int height)
Attachment getAttachment(java.lang.String id)
id
- 表示附件存放位置的钥匙的一个字符串