Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.util
Class DocumentConversionUtil

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

public class DocumentConversionUtil
extends Object


Method Summary
static File convert(String id, InputStream inputStream, String sourceExtension, String targetExtension)
           
static void disconnect()
           
static String[] getConversions(String extension)
           
static String getFilePath(String id, String targetExtension)
           
static boolean isComparableVersion(String extension)
           
static boolean isConvertBeforeCompare(String extension)
           
static boolean isEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

convert

public static File convert(String id,
                           InputStream inputStream,
                           String sourceExtension,
                           String targetExtension)
                    throws IOException,
                           SystemException
Throws:
IOException
SystemException

disconnect

public static void disconnect()

getConversions

public static String[] getConversions(String extension)

getFilePath

public static String getFilePath(String id,
                                 String targetExtension)

isComparableVersion

public static boolean isComparableVersion(String extension)

isConvertBeforeCompare

public static boolean isConvertBeforeCompare(String extension)

isEnabled

public static boolean isEnabled()

Liferay 6.1.2-ce-ga3