static SimpleAttachment.Builder |
SimpleAttachment.builder() |
|
static SimpleAttachment.Builder |
SimpleAttachment.builder(String language) |
|
SimpleAttachment.Builder |
SimpleAttachment.Builder.setContentType(String contentType) |
Sets the type of the content in the file.
|
SimpleAttachment.Builder |
SimpleAttachment.Builder.setCreationData(String creator,
Date creationDate) |
Sets the data of the creation of the attachment (and hence of the file under the hood).
|
SimpleAttachment.Builder |
SimpleAttachment.Builder.setDescription(String description) |
Sets a short description about the content of the attachment.
|
SimpleAttachment.Builder |
SimpleAttachment.Builder.setFilename(String filename) |
Sets the name of the file that contains the content.
|
SimpleAttachment.Builder |
SimpleAttachment.Builder.setFormId(String formId) |
In the case the content is a form stored in an XML file, sets its unique identifier.
|
SimpleAttachment.Builder |
SimpleAttachment.Builder.setSize(long size) |
Sets the size of the content of the attachment.
|
SimpleAttachment.Builder |
SimpleAttachment.Builder.setTitle(String title) |
Sets the title of the attachment.
|