private static void untargz(File tarGzFile, File targetDir) throws IOException { try (TarArchiveInputStream tis = new TarArchiveInputStream(new GZIPInputStream(new FileInputStream(tarGzFile)))) { extractTar(tis, targetDir); } }
private static void untar(File tarFile, File targetDir) throws IOException { try (TarArchiveInputStream tis = new TarArchiveInputStream(new FileInputStream(tarFile))) { extractTar(tis, targetDir); } }
private static void untargz(File tarGzFile, File targetDir) throws IOException { try (TarArchiveInputStream tis = new TarArchiveInputStream(new GZIPInputStream(new FileInputStream(tarGzFile)))) { extractTar(tis, targetDir); } }
private static void untar(File tarFile, File targetDir) throws IOException { try (TarArchiveInputStream tis = new TarArchiveInputStream(new FileInputStream(tarFile))) { extractTar(tis, targetDir); } }