|
Liferay 6.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VideoProcessor
| Field Summary | |
|---|---|
static String |
THUMBNAIL_TYPE
|
| Method Summary | |
|---|---|
void |
generateVideo(FileVersion fileVersion)
|
InputStream |
getPreviewAsStream(FileVersion fileVersion)
|
InputStream |
getPreviewAsStream(FileVersion fileVersion,
String type)
|
long |
getPreviewFileSize(FileVersion fileVersion)
|
long |
getPreviewFileSize(FileVersion fileVersion,
String type)
|
InputStream |
getThumbnailAsStream(FileVersion fileVersion,
int thumbnailIndex)
|
long |
getThumbnailFileSize(FileVersion fileVersion,
int thumbnailIndex)
|
Set<String> |
getVideoMimeTypes()
|
boolean |
hasVideo(FileVersion fileVersion)
|
boolean |
isSupported(String mimeType)
|
boolean |
isVideoSupported(FileVersion fileVersion)
|
boolean |
isVideoSupported(String mimeType)
|
void |
trigger(FileVersion fileVersion)
|
| Field Detail |
|---|
static final String THUMBNAIL_TYPE
| Method Detail |
|---|
void generateVideo(FileVersion fileVersion)
throws Exception
Exception
InputStream getPreviewAsStream(FileVersion fileVersion)
throws Exception
Exception
InputStream getPreviewAsStream(FileVersion fileVersion,
String type)
throws Exception
Exception
long getPreviewFileSize(FileVersion fileVersion)
throws Exception
Exception
long getPreviewFileSize(FileVersion fileVersion,
String type)
throws Exception
Exception
InputStream getThumbnailAsStream(FileVersion fileVersion,
int thumbnailIndex)
throws Exception
Exception
long getThumbnailFileSize(FileVersion fileVersion,
int thumbnailIndex)
throws Exception
ExceptionSet<String> getVideoMimeTypes()
boolean hasVideo(FileVersion fileVersion)
boolean isSupported(String mimeType)
boolean isVideoSupported(FileVersion fileVersion)
boolean isVideoSupported(String mimeType)
void trigger(FileVersion fileVersion)
|
Liferay 6.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||