public static boolean mimeAllowed ( String [ ] filters , String mimeType ) { return MimeTypeFilter . matches ( mimeType , filters ) != null ; }
Returns true if the MIME type is allowed by the filters .