public boolean isTextContentType ( String contentType ) { if ( contentType != null ) { String lowerContentType = contentType . toLowerCase ( ) ; for ( String textContentType : this . parsableContentTypes ) { if ( lowerContentType . startsWith ( textContentType ) ) { return true ; } } } return false ; }
Check whether the given content - type corresponds to parseable text .