com.liferay.portlet.documentlibrary.util
Class DocumentConversionUtil
java.lang.Object
com.liferay.portlet.documentlibrary.util.DocumentConversionUtil
public class DocumentConversionUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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()