Class BlobMessage.StringMessageBuilder
- java.lang.Object
-
- org.nuxeo.importer.stream.message.BlobMessage.StringMessageBuilder
-
- Direct Known Subclasses:
BlobMessage.FileMessageBuilder
- Enclosing class:
- BlobMessage
public static class BlobMessage.StringMessageBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description StringMessageBuilder(String content)
Create a string blob with a content
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Constructor Detail
-
StringMessageBuilder
public StringMessageBuilder(String content)
Create a string blob with a content
-
-
Method Detail
-
setFilename
public BlobMessage.StringMessageBuilder setFilename(String filename)
Set the name of the file.
-
setEncoding
public BlobMessage.StringMessageBuilder setEncoding(String encoding)
Set the path of the file containing the blob content.
-
setMimetype
public BlobMessage.StringMessageBuilder setMimetype(String mimetype)
Set the mime-type of the file.
-
setPath
protected BlobMessage.StringMessageBuilder setPath(String path)
-
build
public BlobMessage build()
-
-