|
Liferay 6.1.10-ee-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 |
getPreviewAsStream(FileVersion fileVersion)
|
static long |
getPreviewFileSize(FileVersion fileVersion)
|
static String |
getPreviewType(FileVersion fileVersion)
|
static InputStream |
getThumbnailAsStream(FileVersion fileVersion,
int index)
|
static long |
getThumbnailFileSize(FileVersion fileVersion,
int index)
|
static String |
getThumbnailType(FileVersion fileVersion)
|
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 getPreviewAsStream(FileVersion fileVersion)
throws Exception
Exception
public static long getPreviewFileSize(FileVersion fileVersion)
throws Exception
Exceptionpublic static String getPreviewType(FileVersion fileVersion)
public static InputStream getThumbnailAsStream(FileVersion fileVersion,
int index)
throws Exception
Exception
public static long getThumbnailFileSize(FileVersion fileVersion,
int index)
throws Exception
Exceptionpublic static String getThumbnailType(FileVersion fileVersion)
public 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.10-ee-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||