public class ThumbnailPolicyManager extends AbstractPolicyManager<ThumbnailPolicyFilter>
Modifier and Type | Method and Description |
---|---|
boolean |
createThumbnail(FileDocument doc,
java.io.File dest,
ImageFormat format,
int maxWidth,
int maxHeight,
java.lang.String background,
boolean square) |
boolean |
createThumbnail(java.io.File src,
java.io.File dest,
ImageFormat format,
int maxWidth,
int maxHeight,
java.lang.String background,
boolean square) |
boolean |
createThumbnail(java.net.URL url,
java.io.File dest,
ImageFormat format,
int maxWidth,
int maxHeight,
java.lang.String background,
boolean square) |
static ThumbnailPolicyManager |
getInstance() |
protected java.lang.String |
getStatusXmlTagName() |
boolean |
isValidImageSize(java.io.File imgFile,
long width,
long height,
boolean jcms) |
boolean |
supportsThumbnail(FileDocument doc,
boolean jcms) |
addPolicyFilter, getPolicyFilters, getPolicyFiltersMap, handleException, removePolicyFilter
public static final ThumbnailPolicyManager getInstance()
protected java.lang.String getStatusXmlTagName()
getStatusXmlTagName
in class AbstractPolicyManager<ThumbnailPolicyFilter>
public boolean createThumbnail(java.io.File src, java.io.File dest, ImageFormat format, int maxWidth, int maxHeight, java.lang.String background, boolean square)
public boolean isValidImageSize(java.io.File imgFile, long width, long height, boolean jcms)
public boolean supportsThumbnail(FileDocument doc, boolean jcms)
public boolean createThumbnail(FileDocument doc, java.io.File dest, ImageFormat format, int maxWidth, int maxHeight, java.lang.String background, boolean square)
public boolean createThumbnail(java.net.URL url, java.io.File dest, ImageFormat format, int maxWidth, int maxHeight, java.lang.String background, boolean square)
Copyright © 2001-2017 Jalios SA. All Rights Reserved.