public class AudioProcessorUtil
extends Object
Constructor and Description |
---|
AudioProcessorUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
generateAudio(FileVersion sourceFileVersion,
FileVersion destinationFileVersion) |
static Set<String> |
getAudioMimeTypes() |
static AudioProcessor |
getAudioProcessor() |
static InputStream |
getPreviewAsStream(FileVersion fileVersion,
String type) |
static long |
getPreviewFileSize(FileVersion fileVersion,
String type) |
static boolean |
hasAudio(FileVersion fileVersion) |
static boolean |
isAudioSupported(FileVersion fileVersion) |
static boolean |
isAudioSupported(String mimeType) |
static boolean |
isSupported(String mimeType) |
static void |
trigger(FileVersion sourceFileVersion,
FileVersion destinationFileVersion) |
public static void generateAudio(FileVersion sourceFileVersion, FileVersion destinationFileVersion) throws Exception
Exception
public static Set<String> getAudioMimeTypes()
public static AudioProcessor getAudioProcessor()
public static InputStream getPreviewAsStream(FileVersion fileVersion, String type) throws Exception
Exception
public static long getPreviewFileSize(FileVersion fileVersion, String type) throws Exception
Exception
public static boolean hasAudio(FileVersion fileVersion)
public static boolean isAudioSupported(FileVersion fileVersion)
public static boolean isAudioSupported(String mimeType)
public static boolean isSupported(String mimeType)
public static void trigger(FileVersion sourceFileVersion, FileVersion destinationFileVersion)