public class Attachment extends Object
Represents an in-line document attachment.
On saving, the fields 'data' holds the base64 encoded data, and 'contentType' holds the Content-Type of the attachment.
| Constructor and Description |
|---|
Attachment() |
| 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) |
void |
setDigest(String digest) |
void |
setLength(long length) |
void |
setRevpos(int revpos) |
void |
setStub(boolean stub) |
public String getData()
public String getContentType()
public int getRevpos()
public String getDigest()
public long getLength()
public boolean isStub()
public void setData(String data)
public void setContentType(String contentType)
public void setRevpos(int revpos)
public void setDigest(String digest)
public void setLength(long length)
public void setStub(boolean stub)
Copyright © 2011-2012. All Rights Reserved.