public abstract class FileAttachment
Constructor and description |
---|
FileAttachment
(T modelItem, AttachmentConfig config) |
FileAttachment
(T modelItem, java.io.File file, boolean cache, AttachmentConfig config) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addExternalDependency(java.util.List<ExternalDependency> dependencies) |
|
void |
cacheFileLocally(java.io.File file) |
|
AttachmentType |
getAttachmentType() |
|
AttachmentConfig |
getConfig() |
|
java.lang.String |
getContentEncoding() |
|
java.lang.String |
getContentID() |
|
java.lang.String |
getContentType() |
|
byte[] |
getData() |
|
java.io.InputStream |
getInputStream() |
|
T |
getModelItem() |
|
java.lang.String |
getName() |
|
java.lang.String |
getPart() |
|
long |
getSize() |
|
java.lang.String |
getUrl() |
|
boolean |
isCached() |
|
void |
release() |
|
void |
reload(java.io.File file, boolean cache) |
|
void |
resolve(ResolveContext<?> context) |
|
void |
setContentID(java.lang.String contentID) |
|
void |
setContentType(java.lang.String contentType) |
|
void |
setData(byte[] data) |
|
void |
setName(java.lang.String value) |
|
void |
setPart(java.lang.String part) |
|
void |
setUrl(java.lang.String url) |
|
void |
updateConfig(AttachmentConfig config) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |