|
Docmosis API 4.5.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.docmosis.template.store.TemplateIdentifier
com.docmosis.template.TemplateDetails
A simple holder of details for a template.
TemplateDetails
Constructor Summary | |
TemplateDetails(TemplateIdentifier templateId,
long origSize,
long origLastModified,
long workingSize,
long workingLastModified,
TemplateAnalysis analysis,
File thumbNail)
Construct a new template details object with the given information |
Method Summary | |
boolean |
equals(Object comparedObject)
Test for equality. |
TemplateAnalysis |
getAnalysis()
Get the analysis for this template. |
long |
getLastModified()
Get the time (in milliseconds since the epoch) since this template was last updated. |
long |
getOriginalLastModified()
Get the time (in milliseconds since the epoch) since the original template was last updated. |
long |
getOriginalSize()
Get the size of original of this template. |
long |
getSize()
Get the size of this template. |
File |
getThumbnail()
Get an File handle over the thumbnail for image for this template. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class com.docmosis.template.store.TemplateIdentifier |
createUniqueTempTemplateIdentifier, fromPath, getContext, getFullPath, getName |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TemplateDetails(TemplateIdentifier templateId, long origSize, long origLastModified, long workingSize, long workingLastModified, TemplateAnalysis analysis, File thumbNail)
templateId
- the id for the templateorigSize
- the size of the originalorigLastModified
- the last time the original was modifiedworkingSize
- the size of the working templateworkingLastModified
- the last time the working template was modifiedanalysis
- the analysis of the templatethumbNail
- the thumbnail image of the template.Method Detail |
public long getSize()
public long getLastModified()
public long getOriginalSize()
public long getOriginalLastModified()
public TemplateAnalysis getAnalysis()
public File getThumbnail()
public String toString()
toString
in class TemplateIdentifier
public boolean equals(Object comparedObject)
equals
in class TemplateIdentifier
public int hashCode()
hashCode
in class TemplateIdentifier
|
Docmosis API 4.5.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |