Package sonia.scm.util
Class Archives.TarWriter
java.lang.Object
sonia.scm.util.Archives.TarWriter
- Enclosing class:
- Archives
Class used in
Archives.addPathToTar(Path, OutputStream)
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
run()
Starts the process.withBasePath
(String basePath) Sets a base path that will be prepended to every tar entry in the archive.withFilter
(Predicate<Path> filter) Sets a filter to select which files shall be added to the archive.
-
Method Details
-
withBasePath
Sets a base path that will be prepended to every tar entry in the archive. -
withFilter
Sets a filter to select which files shall be added to the archive. -
run
Starts the process.- Throws:
IOException
-