public static boolean isZip ( final String filename ) { for ( final String element : FileConst . ZIP_EXTENSIONS ) { if ( filename . endsWith ( element ) ) { return true ; } } return false ; }
Checks if the given filename is a zip - file .