Liferay 7.0-ga1 portal-impl

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)
           
static String getSourceFileName(com.liferay.portal.kernel.repository.model.FileVersion fileVersion)
           
static boolean isMajorVersion(com.liferay.portal.kernel.repository.model.FileVersion previousFileVersion, com.liferay.portal.kernel.repository.model.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)

getSourceFileName

public static String getSourceFileName(com.liferay.portal.kernel.repository.model.FileVersion fileVersion)

isMajorVersion

public static boolean isMajorVersion(com.liferay.portal.kernel.repository.model.FileVersion previousFileVersion,
                                     com.liferay.portal.kernel.repository.model.FileVersion currentFileVersion)

Liferay 7.0-ga1 portal-impl