com.liferay.portlet.documentlibrary.util
Interface VideoProcessor
- All Known Implementing Classes:
- VideoProcessorImpl
public interface VideoProcessor
THUMBNAIL_TYPE
static final String THUMBNAIL_TYPE
- See Also:
- Constant Field Values
exportGeneratedFiles
void exportGeneratedFiles(PortletDataContext portletDataContext,
FileEntry fileEntry,
Element fileEntryElement)
throws Exception
- Throws:
Exception
generateVideo
void generateVideo(FileVersion fileVersion)
throws Exception
- Throws:
Exception
getPreviewAsStream
InputStream getPreviewAsStream(FileVersion fileVersion,
String type)
throws Exception
- Throws:
Exception
getPreviewFileSize
long getPreviewFileSize(FileVersion fileVersion,
String type)
throws Exception
- Throws:
Exception
getThumbnailAsStream
InputStream getThumbnailAsStream(FileVersion fileVersion,
int index)
throws Exception
- Throws:
Exception
getThumbnailFileSize
long getThumbnailFileSize(FileVersion fileVersion,
int index)
throws Exception
- Throws:
Exception
getVideoMimeTypes
Set<String> getVideoMimeTypes()
hasVideo
boolean hasVideo(FileVersion fileVersion)
importGeneratedFiles
void importGeneratedFiles(PortletDataContext portletDataContext,
FileEntry fileEntry,
FileEntry importedFileEntry,
Element fileEntryElement)
throws Exception
- Throws:
Exception
isSupported
boolean isSupported(String mimeType)
isVideoSupported
boolean isVideoSupported(FileVersion fileVersion)
isVideoSupported
boolean isVideoSupported(String mimeType)
trigger
void trigger(FileVersion fileVersion)