public static boolean isFlash(@Nullable String fileExtension) {
    if (StringUtils.isEmpty(fileExtension)) {
      return false;
    }
    return FLASH_FILE_EXTENSIONS.contains(fileExtension.toLowerCase());
  }
public static boolean isFlash ( @ Nullable String fileExtension ) { if ( StringUtils . isEmpty ( fileExtension ) ) { return false ; } return FLASH_FILE_EXTENSIONS . contains ( fileExtension . toLowerCase ( ) ) ; }
Check if the given file extension is an flash.
@param fileExtension File extension
@return true if flash