public class PreviewCacheEntry extends Object
This avoids the needs of rebuilding the preview on each access. This is particularly important when the generated HTML references images
Constructor and Description |
---|
PreviewCacheEntry(Calendar modified,
HtmlPreviewAdapter adapter,
String xpath) |
Modifier and Type | Method and Description |
---|---|
HtmlPreviewAdapter |
getAdapter() |
Calendar |
getModified() |
long |
getTimeStamp() |
String |
getXpath() |
void |
setAdapter(HtmlPreviewAdapter adapter) |
void |
setModified(Calendar modified) |
void |
setXpath(String xpath) |
public PreviewCacheEntry(Calendar modified, HtmlPreviewAdapter adapter, String xpath)
public long getTimeStamp()
public Calendar getModified()
public void setModified(Calendar modified)
public HtmlPreviewAdapter getAdapter()
public void setAdapter(HtmlPreviewAdapter adapter)
public String getXpath()
public void setXpath(String xpath)
Copyright © 2013 Nuxeo SA. All Rights Reserved.