Package org.jboss.windup.util
Class TarUtil
- java.lang.Object
-
- org.jboss.windup.util.TarUtil
-
public class TarUtil extends Object
- Author:
- Jesse Sightler
-
-
Constructor Summary
Constructors Constructor Description TarUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidtarDirectory(Path outputFile, Path inputDirectory)static voidtarDirectory(Path outputFile, Path inputDirectory, List<String> pathPrefixesToExclude)static voiduntar(Path outputDirectory, InputStream inputStream)static voiduntar(Path outputDirectory, Path inputTarFile)
-
-
-
Method Detail
-
tarDirectory
public static void tarDirectory(Path outputFile, Path inputDirectory) throws IOException
- Throws:
IOException
-
tarDirectory
public static void tarDirectory(Path outputFile, Path inputDirectory, List<String> pathPrefixesToExclude) throws IOException
- Throws:
IOException
-
untar
public static void untar(Path outputDirectory, Path inputTarFile) throws IOException
- Throws:
IOException
-
untar
public static void untar(Path outputDirectory, InputStream inputStream) throws IOException
- Throws:
IOException
-
-