public class DocumentImageResource extends Object implements ImageResource
Modifier and Type | Field and Description |
---|---|
protected Blob |
blob |
protected DocumentModel |
doc |
protected String |
fileName
Deprecated.
since 9.1 as filename is now hold by the blob and no longer exist beside it
|
protected String |
hash |
protected Calendar |
modified |
protected String |
xPath |
Constructor and Description |
---|
DocumentImageResource(DocumentModel doc,
String xPath) |
Modifier and Type | Method and Description |
---|---|
protected void |
compute() |
Blob |
getBlob() |
protected String |
getEscapedxPath(String xPath) |
String |
getHash() |
Calendar |
getModificationDate() |
void |
setFileName(String name)
Deprecated.
since 9.1 as filename is now hold by the blob and no longer exist beside it
|
protected DocumentModel doc
@Deprecated protected String fileName
public DocumentImageResource(DocumentModel doc, String xPath)
protected String getEscapedxPath(String xPath)
protected void compute() throws PropertyException
PropertyException
public Blob getBlob()
getBlob
in interface ImageResource
public String getHash()
getHash
in interface ImageResource
public Calendar getModificationDate()
getModificationDate
in interface ImageResource
@Deprecated public void setFileName(String name)
Copyright © 2018 Nuxeo. All rights reserved.