Class PackageUtil
- java.lang.Object
-
- io.quarkus.container.image.s2i.deployment.PackageUtil
-
public class PackageUtil extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPackageUtil.TarDirWalker
-
Field Summary
Fields Modifier and Type Field Description protected static StringBZIP2_SUFFIXprotected static StringDEFAULT_TEMP_DIRprotected static StringDOCKER_PREFIX
-
Constructor Summary
Constructors Constructor Description PackageUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.commons.compress.archivers.tar.TarArchiveOutputStreambuildTarStream(File outputPath)static FilepackageFile(String path)static FilepackageFile(String path, String base)static FilepackageFile(Path root, String base, Path... additional)static FilepackageFile(Path root, Path... additional)static voidputTarEntry(org.apache.commons.compress.archivers.tar.TarArchiveOutputStream tarArchiveOutputStream, org.apache.commons.compress.archivers.tar.TarArchiveEntry tarArchiveEntry, Path inputPath)static voidtar(Path inputPath, Path outputPath)
-
-
-
Field Detail
-
DEFAULT_TEMP_DIR
protected static final String DEFAULT_TEMP_DIR
-
DOCKER_PREFIX
protected static final String DOCKER_PREFIX
- See Also:
- Constant Field Values
-
BZIP2_SUFFIX
protected static final String BZIP2_SUFFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
putTarEntry
public static void putTarEntry(org.apache.commons.compress.archivers.tar.TarArchiveOutputStream tarArchiveOutputStream, org.apache.commons.compress.archivers.tar.TarArchiveEntry tarArchiveEntry, Path inputPath) throws IOException- Throws:
IOException
-
buildTarStream
public static org.apache.commons.compress.archivers.tar.TarArchiveOutputStream buildTarStream(File outputPath) throws IOException
- Throws:
IOException
-
tar
public static void tar(Path inputPath, Path outputPath) throws IOException
- Throws:
IOException
-
-