Class XMimeTypeUtils

    • Constructor Detail

      • XMimeTypeUtils

        public XMimeTypeUtils()
        Deprecated.
    • Method Detail

      • getContentType

        public static String getContentType​(File file)
        Deprecated.
      • getContentType

        public static String getContentType​(InputStream is)
        Deprecated.
      • getContentType

        public static String getContentType​(byte[] data)
        Deprecated.
      • getContentType

        public static String getContentType​(String filename)
        Deprecated.
      • getContentTypes

        public static Collection<?> getContentTypes​(byte[] data)
        Deprecated.
      • getContentTypes

        public static Collection<?> getContentTypes​(String filename)
        Deprecated.
      • getContentTypes

        public static Collection<?> getContentTypes​(File file)
        Deprecated.
      • isContentType

        public static boolean isContentType​(File file,
                                            String... contentTypes)
        Deprecated.
      • isContentType

        public static boolean isContentType​(InputStream is,
                                            String... contentTypes)
        Deprecated.
      • isContentType

        public static boolean isContentType​(String filename,
                                            String... contentTypes)
        Deprecated.
      • isContentType

        public static boolean isContentType​(byte[] data,
                                            String... contentTypes)
        Deprecated.
      • isMediaTypes

        public static boolean isMediaTypes​(File file,
                                           String mediaTypes)
        Deprecated.
      • isMediaTypes

        public static boolean isMediaTypes​(InputStream is,
                                           String mediaTypes)
        Deprecated.
      • isMediaTypes

        public static boolean isMediaTypes​(byte[] data,
                                           String mediaTypes)
        Deprecated.
      • isMediaTypes

        public static boolean isMediaTypes​(String filename,
                                           String mediaTypes)
        Deprecated.
      • containsMediaTypes

        public static boolean containsMediaTypes​(Collection<?> types,
                                                 String... mediaTypes)
        Deprecated.
      • containsContentTypes

        public static boolean containsContentTypes​(Collection<?> types,
                                                   String... contentTypes)
        Deprecated.