public static void unzip ( Path zip , Path target ) throws IOException { try ( final ZipFile zipFile = new ZipFile ( zip . toFile ( ) ) ) { unzip ( zipFile , target ) ; } }
Unzip a file to a target directory .