Class ArchiveEntryUtils
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.agent.messages.ArchiveEntryUtils
-
public class ArchiveEntryUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description ArchiveEntryUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.commons.compress.archivers.tar.TarArchiveEntry
createArchiveEntry(Path path, String fileName)
Creates an archive entry from file.static void
setFileProperties(org.apache.commons.compress.archivers.ArchiveEntry entry, Path file)
Copes file properties of an entry to a file.
-
-
-
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
-
-