Class ArchiveEntryUtils


  • public class ArchiveEntryUtils
    extends Object
    • Constructor Detail

      • ArchiveEntryUtils

        public ArchiveEntryUtils()
    • Method Detail

      • createArchiveEntry

        public static org.apache.commons.compress.archivers.tar.TarArchiveEntry createArchiveEntry​(Path path,
                                                                                                   String fileName)
                                                                                            throws IOException
        Creates an archive entry from file.
        Throws:
        IOException
      • setFileProperties

        public static void setFileProperties​(org.apache.commons.compress.archivers.ArchiveEntry entry,
                                             Path file)
                                      throws IOException
        Copes file properties of an entry to a file.
        Throws:
        IOException