Class PackageUtil


  • public class PackageUtil
    extends Object
    • Constructor Detail

      • PackageUtil

        public PackageUtil()
    • Method Detail

      • packageFile

        public static File packageFile​(String path)
      • packageFile

        public static File packageFile​(Path root,
                                       Path... additional)
      • packageFile

        public static File packageFile​(Path root,
                                       String base,
                                       Path... additional)
      • 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