Class BlobMessage
- java.lang.Object
-
- org.nuxeo.importer.stream.message.BlobMessage
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Message
public class BlobMessage extends Object implements Message
A message holding info to build a StringBlob.- Since:
- 9.1
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BlobMessage.FileMessageBuilder
static class
BlobMessage.StringMessageBuilder
-
Constructor Summary
Constructors Modifier Constructor Description BlobMessage()
protected
BlobMessage(BlobMessage.StringMessageBuilder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getContent()
String
getEncoding()
String
getFilename()
String
getId()
A message identifier.String
getMimeType()
String
getPath()
int
hashCode()
void
readExternal(ObjectInput in)
String
toString()
void
writeExternal(ObjectOutput out)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.nuxeo.lib.stream.pattern.Message
forceBatch, poisonPill
-
-
-
-
Constructor Detail
-
BlobMessage
public BlobMessage()
-
BlobMessage
protected BlobMessage(BlobMessage.StringMessageBuilder builder)
-
-
Method Detail
-
getMimeType
public String getMimeType()
-
getFilename
public String getFilename()
-
getContent
public String getContent()
-
getPath
public String getPath()
-
getEncoding
public String getEncoding()
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
-