com.liferay.portlet.documentlibrary.util
Interface VideoProcessor
public interface VideoProcessor
- Author:
- Sergio González
THUMBNAIL_TYPE
static final java.lang.String THUMBNAIL_TYPE
- See Also:
- Constant Field Values
generateVideo
void generateVideo(FileVersion fileVersion)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPreviewAsStream
java.io.InputStream getPreviewAsStream(FileVersion fileVersion)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPreviewAsStream
java.io.InputStream getPreviewAsStream(FileVersion fileVersion,
java.lang.String type)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPreviewFileSize
long getPreviewFileSize(FileVersion fileVersion)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPreviewFileSize
long getPreviewFileSize(FileVersion fileVersion,
java.lang.String type)
throws java.lang.Exception
- Throws:
java.lang.Exception
getThumbnailAsStream
java.io.InputStream getThumbnailAsStream(FileVersion fileVersion,
int thumbnailIndex)
throws java.lang.Exception
- Throws:
java.lang.Exception
getThumbnailFileSize
long getThumbnailFileSize(FileVersion fileVersion,
int thumbnailIndex)
throws java.lang.Exception
- Throws:
java.lang.Exception
getVideoMimeTypes
java.util.Set<java.lang.String> getVideoMimeTypes()
hasVideo
boolean hasVideo(FileVersion fileVersion)
isSupported
boolean isSupported(java.lang.String mimeType)
isVideoSupported
boolean isVideoSupported(FileVersion fileVersion)
isVideoSupported
boolean isVideoSupported(java.lang.String mimeType)
trigger
void trigger(FileVersion fileVersion)