Android Mime Type Get isSupportedByRegionDecoder(String mimeType)

Here you can find the source of isSupportedByRegionDecoder(String mimeType)

Description

is Supported By Region Decoder

Declaration

public static boolean isSupportedByRegionDecoder(String mimeType) 

Method Source Code

//package com.java2s;

public class Main {
    public static boolean isSupportedByRegionDecoder(String mimeType) {
        if (mimeType == null)
            return false;
        mimeType = mimeType.toLowerCase();
        return mimeType.startsWith("image/")
                && (!mimeType.equals("image/gif") && !mimeType
                        .endsWith("bmp"));
    }/*from  w  ww .  j av a  2 s .c  om*/
}

Related

  1. getMimeType(byte[] bytes)
  2. isRotationSupported(String mimeType)
  3. getMimeType(String url)
  4. getMIMEType(String fName)
  5. guessMime(String path)