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
generateVideo
void generateVideo(FileVersion fileVersion)
throws Exception
- Throws:
Exception
getPreviewAsStream
InputStream getPreviewAsStream(FileVersion fileVersion)
throws Exception
- Throws:
Exception
getPreviewAsStream
InputStream getPreviewAsStream(FileVersion fileVersion,
String type)
throws Exception
- Throws:
Exception
getPreviewFileSize
long getPreviewFileSize(FileVersion fileVersion)
throws Exception
- Throws:
Exception
getPreviewFileSize
long getPreviewFileSize(FileVersion fileVersion,
String type)
throws Exception
- Throws:
Exception
getThumbnailAsStream
InputStream getThumbnailAsStream(FileVersion fileVersion,
int thumbnailIndex)
throws Exception
- Throws:
Exception
getThumbnailFileSize
long getThumbnailFileSize(FileVersion fileVersion,
int thumbnailIndex)
throws Exception
- Throws:
Exception
getVideoMimeTypes
Set<String> getVideoMimeTypes()
hasVideo
boolean hasVideo(FileVersion fileVersion)
isSupported
boolean isSupported(String mimeType)
isVideoSupported
boolean isVideoSupported(FileVersion fileVersion)
isVideoSupported
boolean isVideoSupported(String mimeType)
trigger
void trigger(FileVersion fileVersion)