|
Liferay 6.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.documentlibrary.util.ImageProcessorUtil
public class ImageProcessorUtil
| Constructor Summary | |
|---|---|
ImageProcessorUtil()
|
|
| Method Summary | |
|---|---|
static void |
cleanUp(FileEntry fileEntry)
|
static void |
cleanUp(FileVersion fileVersion)
|
static void |
generateImages(FileVersion fileVersion)
|
static Set<String> |
getImageMimeTypes()
|
static ImageProcessor |
getImageProcessor()
|
static InputStream |
getThumbnailAsStream(FileVersion fileVersion,
int thumbnailIndex)
|
static long |
getThumbnailFileSize(FileVersion fileVersion,
int thumbnailIndex)
|
static boolean |
hasImages(FileVersion fileVersion)
|
static boolean |
isImageSupported(FileVersion fileVersion)
|
static boolean |
isImageSupported(String mimeType)
|
static boolean |
isSupported(String mimeType)
|
void |
setImageProcessor(ImageProcessor imageProcessor)
|
static void |
storeThumbnail(long companyId,
long groupId,
long fileEntryId,
long fileVersionId,
long custom1ImageId,
long custom2ImageId,
InputStream is,
String type)
|
static void |
trigger(FileVersion fileVersion)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageProcessorUtil()
| Method Detail |
|---|
public static void cleanUp(FileEntry fileEntry)
public static void cleanUp(FileVersion fileVersion)
public static void generateImages(FileVersion fileVersion)
public static Set<String> getImageMimeTypes()
public static ImageProcessor getImageProcessor()
public static InputStream getThumbnailAsStream(FileVersion fileVersion,
int thumbnailIndex)
throws Exception
Exception
public static long getThumbnailFileSize(FileVersion fileVersion,
int thumbnailIndex)
throws Exception
Exceptionpublic static boolean hasImages(FileVersion fileVersion)
public static boolean isImageSupported(FileVersion fileVersion)
public static boolean isImageSupported(String mimeType)
public static boolean isSupported(String mimeType)
public static void storeThumbnail(long companyId,
long groupId,
long fileEntryId,
long fileVersionId,
long custom1ImageId,
long custom2ImageId,
InputStream is,
String type)
throws Exception
Exceptionpublic static void trigger(FileVersion fileVersion)
public void setImageProcessor(ImageProcessor imageProcessor)
|
Liferay 6.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||