public static void extractZipFile ( final String path , final File dest , final String fileName ) throws IOException { FilenameFilter filter = null ; if ( null != fileName ) { filter = new FilenameFilter ( ) { public boolean accept ( final File file , final String name ) { return fileName . equals ( name ) || fileName . startsWith ( name ) ; } } ; } extractZip ( path , dest , filter , null , null ) ; }
Extracts a single entry from the zip