public boolean containsMimeTypeForFilename (@Nonnull @Nonempty final String sFilename)
  {
    ValueEnforcer.notEmpty (sFilename, "Filename");

    final String sExtension = FilenameHelper.getExtension (sFilename);
    return containsMimeTypeForExtension (sExtension);
  }
public boolean containsMimeTypeForFilename ( @ Nonnull @ Nonempty final String sFilename ) { ValueEnforcer . notEmpty ( sFilename , "Filename" ) ; final String sExtension = FilenameHelper . getExtension ( sFilename ) ; return containsMimeTypeForExtension ( sExtension ) ; }
Check if any mime type is registered for the extension of the specified
filename.

@param sFilename
The filename to search. May neither be <code>null</code> nor empty.
@return <code>true</code> if at least one mime type is associated with the
extension of the passed filename, <code>false</code> otherwise.