public interface VideoProcessor
| Modifier and Type | Field and Description |
|---|---|
static String |
THUMBNAIL_TYPE |
| Modifier and Type | Method and Description |
|---|---|
void |
exportGeneratedFiles(PortletDataContext portletDataContext,
FileEntry fileEntry,
Element fileEntryElement) |
void |
generateVideo(FileVersion sourceFileVersion,
FileVersion destinationFileVersion) |
InputStream |
getPreviewAsStream(FileVersion fileVersion,
String type) |
long |
getPreviewFileSize(FileVersion fileVersion,
String type) |
InputStream |
getThumbnailAsStream(FileVersion fileVersion,
int index) |
long |
getThumbnailFileSize(FileVersion fileVersion,
int index) |
Set<String> |
getVideoMimeTypes() |
boolean |
hasVideo(FileVersion fileVersion) |
void |
importGeneratedFiles(PortletDataContext portletDataContext,
FileEntry fileEntry,
FileEntry importedFileEntry,
Element fileEntryElement) |
boolean |
isSupported(String mimeType) |
boolean |
isVideoSupported(FileVersion fileVersion) |
boolean |
isVideoSupported(String mimeType) |
void |
trigger(FileVersion sourceFileVersion,
FileVersion destinationFileVersion) |
static final String THUMBNAIL_TYPE
void exportGeneratedFiles(PortletDataContext portletDataContext, FileEntry fileEntry, Element fileEntryElement) throws Exception
Exceptionvoid generateVideo(FileVersion sourceFileVersion, FileVersion destinationFileVersion) throws Exception
ExceptionInputStream getPreviewAsStream(FileVersion fileVersion, String type) throws Exception
Exceptionlong getPreviewFileSize(FileVersion fileVersion, String type) throws Exception
ExceptionInputStream getThumbnailAsStream(FileVersion fileVersion, int index) throws Exception
Exceptionlong getThumbnailFileSize(FileVersion fileVersion, int index) throws Exception
ExceptionSet<String> getVideoMimeTypes()
boolean hasVideo(FileVersion fileVersion)
void importGeneratedFiles(PortletDataContext portletDataContext, FileEntry fileEntry, FileEntry importedFileEntry, Element fileEntryElement) throws Exception
Exceptionboolean isSupported(String mimeType)
boolean isVideoSupported(FileVersion fileVersion)
boolean isVideoSupported(String mimeType)
void trigger(FileVersion sourceFileVersion, FileVersion destinationFileVersion)