public static class BlobMessage.StringMessageBuilder extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
content |
protected String |
encoding |
protected String |
filename |
protected String |
mimetype |
protected String |
path |
Constructor and Description |
---|
StringMessageBuilder(String content)
Create a string blob with a content
|
Modifier and Type | Method and Description |
---|---|
BlobMessage |
build() |
BlobMessage.StringMessageBuilder |
setEncoding(String encoding)
Set the path of the file containing the blob content.
|
BlobMessage.StringMessageBuilder |
setFilename(String filename)
Set the name of the file.
|
BlobMessage.StringMessageBuilder |
setMimetype(String mimetype)
Set the mime-type of the file.
|
protected BlobMessage.StringMessageBuilder |
setPath(String path) |
public StringMessageBuilder(String content)
public BlobMessage.StringMessageBuilder setFilename(String filename)
public BlobMessage.StringMessageBuilder setEncoding(String encoding)
public BlobMessage.StringMessageBuilder setMimetype(String mimetype)
protected BlobMessage.StringMessageBuilder setPath(String path)
public BlobMessage build()
Copyright © 2018 Nuxeo. All rights reserved.