public class ArchiveUtils extends Object
| Constructor and Description |
|---|
ArchiveUtils() |
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
unGzip(InputStream gzipArchive) |
static void |
unpackTar(InputStream tarArchive,
File outputDirectory) |
static void |
unpackTar(org.apache.commons.compress.archivers.tar.TarArchiveInputStream tarStream,
org.apache.commons.compress.archivers.tar.TarArchiveEntry[] entries,
File outputDirectory) |
static void |
unpackTarArchiveEntry(org.apache.commons.compress.archivers.tar.TarArchiveInputStream tarStream,
org.apache.commons.compress.archivers.tar.TarArchiveEntry entry,
File outputDirectory) |
public static InputStream unGzip(InputStream gzipArchive) throws IOException
IOExceptionpublic static void unpackTar(InputStream tarArchive, File outputDirectory) throws IOException
IOExceptionpublic static void unpackTar(org.apache.commons.compress.archivers.tar.TarArchiveInputStream tarStream,
org.apache.commons.compress.archivers.tar.TarArchiveEntry[] entries,
File outputDirectory)
throws IOException
IOExceptionpublic static void unpackTarArchiveEntry(org.apache.commons.compress.archivers.tar.TarArchiveInputStream tarStream,
org.apache.commons.compress.archivers.tar.TarArchiveEntry entry,
File outputDirectory)
throws IOException
IOExceptionCopyright © 2021. All rights reserved.