public class DocumentValue extends Object implements Serializable
Constructor and Description |
---|
DocumentValue(byte[] content,
String mimeType,
String fileName)
Represent the value of a document, content, mime type and file name is given
|
DocumentValue(String url)
Represent the value of an external document, only the url is given
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
byte[] |
getContent() |
String |
getFileName() |
String |
getMimeType() |
String |
getUrl() |
boolean |
hasContent() |
int |
hashCode() |
String |
toString() |
public DocumentValue(byte[] content, String mimeType, String fileName)
content
- content of the documentmimeType
- mime type of the documentfileName
- file name of the documentpublic DocumentValue(String url)
url
- url of the documentCopyright © 2014 Bonitasoft S.A.. All rights reserved.