public class ThumbnailManager extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
log |
Constructor and Description |
---|
ThumbnailManager() |
Modifier and Type | Method and Description |
---|---|
void |
createPreview(Document document)
Creates the preview for all the pages of the document
|
void |
createPreview(Document document,
String fileVersion)
Creates the preview for all the pages of the document.
|
void |
createTumbnail(Document document)
Creates the thumbnail for the specified document
|
void |
createTumbnail(Document document,
String fileVersion)
Creates the thumbnail for the specified document and file version.
|
Map<String,ThumbnailBuilder> |
getBuilders() |
void |
setStorer(Storer storer) |
public void createTumbnail(Document document, String fileVersion) throws IOException
document
- The document to be treatedfileVersion
- The file version(optional)IOException
public void createTumbnail(Document document) throws IOException
document
- The document to be treatedIOException
public void createPreview(Document document, String fileVersion) throws IOException
document
- The document to be treatedfileVersion
- The file version(optional)IOException
public void createPreview(Document document) throws IOException
document
- The document to be treatedIOException
public Map<String,ThumbnailBuilder> getBuilders()
public void setStorer(Storer storer)
Copyright © 2008-2014 Logical Objects. All Rights Reserved.