Package | Description |
---|---|
com.jalios.io |
Contains Jalios utility I/O classes (stream pumpers, MultiInputStream
and miscellaneous utility static methods).
|
com.jalios.jcms.policy | |
com.jalios.jcms.taglib |
Provides many of the classes used for JCMS jsp tags.
|
Modifier and Type | Field and Description |
---|---|
static ImageFormat[] |
ImageFormat.AVAILABLE_FORMATS |
static ImageFormat |
ImageFormat.GIF |
static ImageFormat |
ImageFormat.JPEG |
Modifier and Type | Method and Description |
---|---|
static ImageFormat |
ImageFormat.getImageFormat(java.lang.String format)
Returns an ImageFormat instance from a string.
|
Modifier and Type | Method and Description |
---|---|
static java.io.File |
ImageUtil.createThumbnail(java.io.File imageFile,
ImageFormat format,
int maxWidth,
int maxHeight) |
static java.io.File |
ImageUtil.createThumbnail(java.io.File imageFile,
ImageFormat format,
int maxWidth,
int maxHeight,
java.lang.String background)
Creates a thumbnail of the given file image in a temporary location
in the given format, return the corresponding File.
|
static java.io.File |
ImageUtil.crop(java.io.File imageFile,
ImageFormat format,
int x1,
int y1,
int x2,
int y2,
java.lang.String background) |
static java.io.File |
ImageUtil.rotate(java.io.File imageFile,
ImageFormat format,
int angle,
java.lang.String background) |
Modifier and Type | Method and Description |
---|---|
boolean |
BasicThumbnailPolicyFilter.createThumbnail(FileDocument doc,
java.io.File dest,
ImageFormat format,
int maxWidth,
int maxHeight,
boolean done) |
boolean |
PolicyManager.createThumbnail(FileDocument doc,
java.io.File dest,
ImageFormat format,
int maxWidth,
int maxHeight,
java.lang.String background) |
boolean |
ThumbnailPolicyFilter.createThumbnail(FileDocument doc,
java.io.File dest,
ImageFormat format,
int maxWidth,
int maxHeight,
java.lang.String background,
boolean done)
This method is a hook called by Thumbnail tag to generate a
thumbnail of the given FileDocument.
|
boolean |
DefaultThumbnailPolicyFilter.createThumbnail(FileDocument doc,
java.io.File dest,
ImageFormat format,
int maxWidth,
int maxHeight,
java.lang.String background,
boolean done) |
boolean |
BasicThumbnailPolicyFilter.createThumbnail(FileDocument doc,
java.io.File dest,
ImageFormat format,
int maxWidth,
int maxHeight,
java.lang.String background,
boolean done) |
boolean |
BasicThumbnailPolicyFilter.createThumbnail(java.io.File src,
java.io.File dest,
ImageFormat format,
int maxWidth,
int maxHeight,
boolean done) |
boolean |
PolicyManager.createThumbnail(java.io.File src,
java.io.File dest,
ImageFormat format,
int maxWidth,
int maxHeight,
java.lang.String background) |
boolean |
ThumbnailPolicyFilter.createThumbnail(java.io.File src,
java.io.File dest,
ImageFormat format,
int maxWidth,
int maxHeight,
java.lang.String background,
boolean done)
This method is a hook called by Thumbnail tag to generate a
thumbnail of the given source file.
|
boolean |
DefaultThumbnailPolicyFilter.createThumbnail(java.io.File src,
java.io.File dest,
ImageFormat format,
int maxWidth,
int maxHeight,
java.lang.String background,
boolean done) |
boolean |
BasicThumbnailPolicyFilter.createThumbnail(java.io.File src,
java.io.File dest,
ImageFormat format,
int maxWidth,
int maxHeight,
java.lang.String background,
boolean done) |
boolean |
BasicThumbnailPolicyFilter.createThumbnail(java.net.URL url,
java.io.File dest,
ImageFormat format,
int maxWidth,
int maxHeight,
boolean done) |
boolean |
PolicyManager.createThumbnail(java.net.URL url,
java.io.File dest,
ImageFormat format,
int maxWidth,
int maxHeight,
java.lang.String background) |
boolean |
ThumbnailPolicyFilter.createThumbnail(java.net.URL url,
java.io.File dest,
ImageFormat format,
int maxWidth,
int maxHeight,
java.lang.String background,
boolean done)
This method is a hook called by Thumbnail tag to generate a
thumbnail of the given URL.
|
boolean |
DefaultThumbnailPolicyFilter.createThumbnail(java.net.URL url,
java.io.File dest,
ImageFormat format,
int maxWidth,
int maxHeight,
java.lang.String background,
boolean done) |
boolean |
BasicThumbnailPolicyFilter.createThumbnail(java.net.URL url,
java.io.File dest,
ImageFormat format,
int maxWidth,
int maxHeight,
java.lang.String background,
boolean done) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ThumbnailTag.createImageThumbnail(java.io.File imageFile,
java.io.File dest,
ImageFormat format,
int maxWidth,
int maxHeight) |
static boolean |
ThumbnailTag.createImageThumbnail(java.io.File imageFile,
java.io.File dest,
ImageFormat format,
int maxWidth,
int maxHeight,
java.lang.String background)
This method creates a thumbnail of the given image source file.
|
static boolean |
ThumbnailTag.createOpenOfficeThumbnail(java.io.File docFile,
java.io.File dest,
ImageFormat format,
int maxWidth,
int maxHeight,
java.lang.String background)
This method creates a thumbnail of the given Open Office file.
|
static boolean |
ThumbnailTag.createOpenXmlThumbnail(java.io.File docFile,
java.io.File dest,
ImageFormat format,
int maxWidth,
int maxHeight,
java.lang.String background)
This method creates a thumbnail of the given OpenXml file.
|
static java.io.File |
ThumbnailTag.createThumbnail(FileDocument fileDoc,
java.io.File srcFile,
java.net.URL url,
ImageFormat format,
int maxWidth,
int maxHeight) |
static java.io.File |
ThumbnailTag.createThumbnail(FileDocument fileDoc,
java.io.File srcFile,
java.net.URL url,
ImageFormat format,
int maxWidth,
int maxHeight,
java.lang.String background)
Create a thumbnail using the first valid source from FileDocument, File or URL using given dimensions.
|
static boolean |
ThumbnailTag.createThumbnailNow(FileDocument fileDoc,
java.io.File srcFile,
java.net.URL url,
ImageFormat format,
int maxWidth,
int maxHeight,
java.io.File destFile) |
static boolean |
ThumbnailTag.createThumbnailNow(FileDocument fileDoc,
java.io.File srcFile,
java.net.URL url,
ImageFormat format,
int maxWidth,
int maxHeight,
java.io.File destFile,
java.lang.String background)
This method create a thumbnail of one of the three source given using the
options passed as parameters ("now" as opposed to generation when going through ajax}.
|
Copyright © 2001-2010 Jalios SA. All Rights Reserved.