public abstract class AbstractThumbnailBuilder extends Object implements ThumbnailBuilder
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CONVERT |
protected static org.slf4j.Logger |
log |
protected String |
SWF_DIRECT_CONVERSION_EXTS
For these extensions we are able to directly convert to SWF
|
protected static String |
SWFTOOLSPATH |
| Constructor and Description |
|---|
AbstractThumbnailBuilder() |
| Modifier and Type | Method and Description |
|---|---|
File[] |
buildPreview(File src,
String srcFileName,
File dest)
Produce the full preview
|
protected File[] |
document2swf(File src,
String extension,
File root)
Convert a generic document(image or PDF) to SWF (for document preview
feature).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildThumbnailprotected static org.slf4j.Logger log
protected static String CONVERT
protected static String SWFTOOLSPATH
protected String SWF_DIRECT_CONVERSION_EXTS
public File[] buildPreview(File src, String srcFileName, File dest) throws IOException
ThumbnailBuilderbuildPreview in interface ThumbnailBuildersrc - The source filesrcFileName - The original file namedest - The destination root folderIOExceptionprotected File[] document2swf(File src, String extension, File root) throws IOException
IOExceptionCopyright © 2008-2014 Logical Objects. All Rights Reserved.