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.Object
Deprecated.since 6.6. Please use a service-reference ofDamMimeUtils
insteadThis 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 boolean
getDetectMimeFromContent()
Deprecated.static boolean
isAllowedMimeType(java.lang.String nameMimeType, java.lang.String contentMimeType)
Deprecated.static void
setAllowAllMimeAttribute(boolean val)
Deprecated.static void
setDetectMimeFromContent(boolean val)
Deprecated.static void
setSupportedMimeTypes(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.
-
-