Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.util
Class DLAppUtil

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

public class DLAppUtil
extends Object


Constructor Summary
DLAppUtil()
           
 
Method Summary
static String getExtension(String title, String sourceFileName)
           
static String getMimeType(String sourceFileName, String mimeType, String title, File file, InputStream is)
           
static boolean isMajorVersion(FileVersion previousFileVersion, FileVersion currentFileVersion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLAppUtil

public DLAppUtil()
Method Detail

getExtension

public static String getExtension(String title,
                                  String sourceFileName)

getMimeType

public static String getMimeType(String sourceFileName,
                                 String mimeType,
                                 String title,
                                 File file,
                                 InputStream is)

isMajorVersion

public static boolean isMajorVersion(FileVersion previousFileVersion,
                                     FileVersion currentFileVersion)

Liferay 6.1.2-ce-ga3