public static boolean isZip(String fName)
  {
    if (Strings.isNullOrEmpty(fName)) {
      return false;
    }
    return fName.endsWith(ZIP_SUFFIX); // Technically a file named `.zip` would be fine
  }
public static boolean isZip ( String fName ) { if ( Strings . isNullOrEmpty ( fName ) ) { return false ; } return fName . endsWith ( ZIP_SUFFIX ) ; }
Checks to see if fName is a valid name for a "*.zip" file

@param fName The name of the file in question

@return True if fName is properly named for a .zip file, false otherwise