Package com.day.cq.dam.commons.util
Class DamMimeUtil
- java.lang.Object
 - 
- com.day.cq.dam.commons.util.DamMimeUtil
 
 
- 
public class DamMimeUtil extends java.lang.ObjectDeprecated.since 6.6. Please use a service-reference ofDamMimeUtilsinsteadThis class provides various utility methods pertaining to DAM Mime Type Service Implementation. 
- 
- 
Constructor Summary
Constructors Constructor Description DamMimeUtil()Deprecated. 
- 
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleangetDetectMimeFromContent()Deprecated.static booleanisAllowedMimeType(java.lang.String nameMimeType, java.lang.String contentMimeType)Deprecated.static voidsetAllowAllMimeAttribute(boolean val)Deprecated.static voidsetDetectMimeFromContent(boolean val)Deprecated.static voidsetSupportedMimeTypes(java.lang.String[] mimeList)Deprecated. 
 - 
 
- 
- 
Method Detail
- 
setAllowAllMimeAttribute
public static void setAllowAllMimeAttribute(boolean val)
Deprecated. 
- 
setDetectMimeFromContent
public static void setDetectMimeFromContent(boolean val)
Deprecated. 
- 
setSupportedMimeTypes
public static void setSupportedMimeTypes(java.lang.String[] mimeList)
Deprecated. 
- 
isAllowedMimeType
public static boolean isAllowedMimeType(java.lang.String nameMimeType, java.lang.String contentMimeType)Deprecated. 
- 
getDetectMimeFromContent
public static boolean getDetectMimeFromContent()
Deprecated. 
 - 
 
 -