com.liferay.portlet.documentlibrary.util
Class AudioProcessorUtil
java.lang.Object
com.liferay.portlet.documentlibrary.util.AudioProcessorUtil
public class AudioProcessorUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AudioProcessorUtil
public AudioProcessorUtil()
generateAudio
public static void generateAudio(FileVersion fileVersion)
throws Exception
- Throws:
Exception
getAudioMimeTypes
public static Set<String> getAudioMimeTypes()
getAudioProcessor
public static AudioProcessor getAudioProcessor()
getPreviewAsStream
public static InputStream getPreviewAsStream(FileVersion fileVersion,
String type)
throws Exception
- Throws:
Exception
getPreviewFileSize
public static long getPreviewFileSize(FileVersion fileVersion,
String type)
throws Exception
- Throws:
Exception
hasAudio
public static boolean hasAudio(FileVersion fileVersion)
isAudioSupported
public static boolean isAudioSupported(FileVersion fileVersion)
isAudioSupported
public static boolean isAudioSupported(String mimeType)
isSupported
public static boolean isSupported(String mimeType)
trigger
public static void trigger(FileVersion fileVersion)
setAudioProcessor
public void setAudioProcessor(AudioProcessor audioProcessor)
- Deprecated.