Class ArchiveEntryUtils
java.lang.Object
com.atlassian.bamboo.v2.build.agent.messages.ArchiveEntryUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Constructor Details
-
ArchiveEntryUtils
public ArchiveEntryUtils()
-
-
Method Details
-
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
-