Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.util
Class AudioProcessorUtil

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.util.AudioProcessorUtil

public class AudioProcessorUtil
extends Object


Constructor Summary
AudioProcessorUtil()
           
 
Method Summary
static void generateAudio(FileVersion fileVersion)
           
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)
           
 void setAudioProcessor(AudioProcessor audioProcessor)
          Deprecated.  
static void trigger(FileVersion fileVersion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AudioProcessorUtil

public AudioProcessorUtil()
Method Detail

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. 


Liferay 6.1.2-ce-ga3