public class Attachment extends Object
Document.addAttachment(String, Attachment)
Constructor and Description |
---|
Attachment() |
Attachment(String data,
String contentType) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
String |
getData() |
String |
getDigest() |
long |
getLength() |
int |
getRevpos() |
boolean |
isStub() |
void |
setContentType(String contentType) |
void |
setData(String data) |
public String getData()
public String getContentType()
public int getRevpos()
public String getDigest()
public long getLength()
public boolean isStub()
public void setContentType(String contentType)
public void setData(String data)
data
- The base64 encoded data of the attachment.Copyright © 2011–2016. All rights reserved.