Interface VideoProcessor
public interface VideoProcessor
- Author:
- Sergio González
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidexportGeneratedFiles(PortletDataContext portletDataContext, FileEntry fileEntry, Element fileEntryElement) voidvoidgenerateVideo(FileVersion sourceFileVersion, FileVersion destinationFileVersion) getPreviewAsStream(FileVersion fileVersion, String type) longgetPreviewFileSize(FileVersion fileVersion, String type) getThumbnailAsStream(FileVersion fileVersion, int index) longgetThumbnailFileSize(FileVersion fileVersion, int index) booleanhasVideo(FileVersion fileVersion) voidimportGeneratedFiles(PortletDataContext portletDataContext, FileEntry fileEntry, FileEntry importedFileEntry, Element fileEntryElement) default booleanbooleanisSupported(String mimeType) booleanisVideoSupported(FileVersion fileVersion) booleanisVideoSupported(String mimeType) voidtrigger(FileVersion sourceFileVersion, FileVersion destinationFileVersion)
-
Field Details
-
THUMBNAIL_TYPE
- See Also:
-
-
Method Details
-
exportGeneratedFiles
void exportGeneratedFiles(PortletDataContext portletDataContext, FileEntry fileEntry, Element fileEntryElement) throws Exception - Throws:
Exception
-
generatePreviews
void generatePreviews() -
generateVideo
void generateVideo(FileVersion sourceFileVersion, FileVersion destinationFileVersion) throws Exception - Throws:
Exception
-
getPreviewAsStream
- Throws:
Exception
-
getPreviewFileSize
- Throws:
Exception
-
getThumbnailAsStream
- Throws:
Exception
-
getThumbnailFileSize
- Throws:
Exception
-
getVideoMimeTypes
-
hasVideo
-
importGeneratedFiles
void importGeneratedFiles(PortletDataContext portletDataContext, FileEntry fileEntry, FileEntry importedFileEntry, Element fileEntryElement) throws Exception - Throws:
Exception
-
isAvailable
default boolean isAvailable() -
isSupported
-
isVideoSupported
-
isVideoSupported
-
trigger
-