Class XMimeTypeUtils
java.lang.Object
de.xima.fc.utils.XMimeTypeUtils
Deprecated.
Utility class for MIME type detection.
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancontainsContentTypes(Collection<?> types, String... contentTypes) Deprecated.static booleancontainsMediaTypes(Collection<?> types, String... mediaTypes) Deprecated.static StringgetContentType(byte[] data) Deprecated.static StringgetContentType(File file) Deprecated.static StringDeprecated.static StringgetContentType(String filename) Deprecated.static Collection<?> getContentTypes(byte[] data) Deprecated.static Collection<?> getContentTypes(File file) Deprecated.static Collection<?> Deprecated.static Collection<?> getContentTypes(String filename) Deprecated.static booleanisContentType(byte[] data, String... contentTypes) Deprecated.static booleanisContentType(File file, String... contentTypes) Deprecated.static booleanisContentType(InputStream is, String... contentTypes) Deprecated.static booleanisContentType(String filename, String... contentTypes) Deprecated.static booleanisMediaTypes(byte[] data, String mediaTypes) Deprecated.static booleanisMediaTypes(File file, String mediaTypes) Deprecated.static booleanisMediaTypes(InputStream is, String mediaTypes) Deprecated.static booleanisMediaTypes(String filename, String mediaTypes) Deprecated.
-
Constructor Details
-
XMimeTypeUtils
public XMimeTypeUtils()Deprecated.
-
-
Method Details
-
getContentType
-
getContentType
Deprecated. -
getContentType
Deprecated. -
getContentType
-
getContentTypes
Deprecated. -
getContentTypes
Deprecated. -
getContentTypes
Deprecated. -
getContentTypes
Deprecated. -
isContentType
-
isContentType
Deprecated. -
isContentType
-
isContentType
Deprecated. -
isMediaTypes
-
isMediaTypes
Deprecated. -
isMediaTypes
Deprecated. -
isMediaTypes
-
containsMediaTypes
Deprecated. -
containsContentTypes
Deprecated.
-
ContentTypeUtilsinstead.