Liferay 6.0.5

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 InputStream convert(String id, InputStream is, String sourceExtension, String targetExtension)
           
static void disconnect()
           
static String[] getConversions(String extension)
           
static String getTempFileId(long id, String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

convert

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

disconnect

public static void disconnect()

getConversions

public static String[] getConversions(String extension)

getTempFileId

public static String getTempFileId(long id,
                                   String version)

Liferay 6.0.5