check the mimetype is referenced in the mimetypes database concode_field_sep Properties mimetypes concode_elem_sep Pattern extPattern concode_field_sep void initMimetypes concode_elem_sep String getMimeType concode_elem_sep String getMimeType concode_elem_sep String getCurrentCharset concode_elem_sep String getContentType concode_elem_sep String getContentType concode_elem_sep Properties mimetypes
boolean function ( String arg0 ) { if ( arg0 == null ) { return false ; } else if ( arg0 . indexOf ( "srini_string" ) != - 1 ) { return mimetypes ( ) . contains ( arg0 . split ( "srini_string" ) [ 0 ] ) ; } else { return mimetypes ( ) . contains ( arg0 ) ; } }