public interface AudioProcessor
Modifier and Type | Field and Description |
---|---|
static String |
PREVIEW_TYPE |
Modifier and Type | Method and Description |
---|---|
void |
exportGeneratedFiles(PortletDataContext portletDataContext,
FileEntry fileEntry,
Element fileEntryElement) |
void |
generateAudio(FileVersion sourceFileVersion,
FileVersion destinationFileVersion) |
Set<String> |
getAudioMimeTypes() |
InputStream |
getPreviewAsStream(FileVersion fileVersion,
String type) |
long |
getPreviewFileSize(FileVersion fileVersion,
String type) |
boolean |
hasAudio(FileVersion fileVersion) |
void |
importGeneratedFiles(PortletDataContext portletDataContext,
FileEntry fileEntry,
FileEntry importedFileEntry,
Element fileEntryElement) |
boolean |
isAudioSupported(FileVersion fileVersion) |
boolean |
isAudioSupported(String mimeType) |
boolean |
isSupported(String mimeType) |
void |
trigger(FileVersion sourceFileVersion,
FileVersion destinationFileVersion) |
static final String PREVIEW_TYPE
void exportGeneratedFiles(PortletDataContext portletDataContext, FileEntry fileEntry, Element fileEntryElement) throws Exception
Exception
void generateAudio(FileVersion sourceFileVersion, FileVersion destinationFileVersion) throws Exception
Exception
Set<String> getAudioMimeTypes()
InputStream getPreviewAsStream(FileVersion fileVersion, String type) throws Exception
Exception
long getPreviewFileSize(FileVersion fileVersion, String type) throws Exception
Exception
boolean hasAudio(FileVersion fileVersion)
void importGeneratedFiles(PortletDataContext portletDataContext, FileEntry fileEntry, FileEntry importedFileEntry, Element fileEntryElement) throws Exception
Exception
boolean isAudioSupported(FileVersion fileVersion)
boolean isAudioSupported(String mimeType)
boolean isSupported(String mimeType)
void trigger(FileVersion sourceFileVersion, FileVersion destinationFileVersion)