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 classBlobMessage.FileMessageBuilderstatic classBlobMessage.StringMessageBuilder
-
Constructor Summary
Constructors Modifier Constructor Description BlobMessage()protectedBlobMessage(BlobMessage.StringMessageBuilder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetContent()StringgetEncoding()StringgetFilename()StringgetId()A message identifier.StringgetMimeType()StringgetPath()inthashCode()voidreadExternal(ObjectInput in)StringtoString()voidwriteExternal(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:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
-