|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.platform.api.ws.DocumentBlob
public class DocumentBlob
Web service document blob.
Constructor Summary | |
---|---|
DocumentBlob()
Empty ctor needed by tools like jaxb. |
|
DocumentBlob(String name,
Blob blob)
|
|
DocumentBlob(String name,
String encoding,
String mimeType,
String downloadUrl)
|
Method Summary | |
---|---|
byte[] |
getBlob()
Returns the actual blob as a serializable input stream. |
String |
getDownloadUrl()
|
String |
getEncoding()
Returns the encoding of the blob. |
String[] |
getExtensions()
|
String |
getMimetype()
Returns the main RFC-2046 mimetype name. |
String |
getMimeType()
|
String |
getName()
Returns the name of the document field name. |
String |
getUrl()
|
void |
setBlob(byte[] blob)
|
void |
setEncoding(String encoding)
|
void |
setExtensions(String[] extensions)
|
void |
setMimetype(String mimeType)
|
void |
setMimeType(String mimeType)
|
void |
setName(String name)
|
void |
setUrl(String url)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocumentBlob()
public DocumentBlob(String name, Blob blob) throws IOException
IOException
public DocumentBlob(String name, String encoding, String mimeType, String downloadUrl)
Method Detail |
---|
public String getName()
We probably need to embed the name along with the schema prefix.
public String getMimetype()
public String getEncoding()
public byte[] getBlob()
public void setExtensions(String[] extensions)
public String[] getExtensions()
public void setBlob(byte[] blob)
public void setMimetype(String mimeType)
public void setEncoding(String encoding)
public void setName(String name)
public String getDownloadUrl()
public String getMimeType()
public void setMimeType(String mimeType)
public String getUrl()
public void setUrl(String url)
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |