-
Method Summary
apply(Path sourcePath,
String targetPath,
org.apache.commons.compress.archivers.tar.TarArchiveEntry tarArchiveEntry)
createInputStream(byte[] data,
org.apache.commons.compress.archivers.tar.TarArchiveEntry tarArchiveEntry)
byte[]
default boolean
modify(T lines,
Path sourcePath,
String targetPath,
org.apache.commons.compress.archivers.tar.TarArchiveEntry tarArchiveEntry)
readOriginal(Path sourcePath,
String targetPath,
org.apache.commons.compress.archivers.tar.TarArchiveEntry tarArchiveEntry)
default boolean
shouldApply(Path sourcePath,
String targetPath,
org.apache.commons.compress.archivers.tar.TarArchiveEntry tarArchiveEntry)
-
Method Details
-
apply
- Specified by:
apply in interface FileContentModifier
- Throws:
IOException
-
shouldApply
default boolean shouldApply(Path sourcePath,
String targetPath,
org.apache.commons.compress.archivers.tar.TarArchiveEntry tarArchiveEntry)
-
readOriginal
T readOriginal(Path sourcePath,
String targetPath,
org.apache.commons.compress.archivers.tar.TarArchiveEntry tarArchiveEntry)
throws IOException
- Throws:
IOException
-
modify
T modify(T lines,
Path sourcePath,
String targetPath,
org.apache.commons.compress.archivers.tar.TarArchiveEntry tarArchiveEntry)
throws IOException
- Throws:
IOException
-
isIdentical
default boolean isIdentical(T original,
T created)
-
-
createInputStream
default ByteArrayInputStream createInputStream(byte[] data,
org.apache.commons.compress.archivers.tar.TarArchiveEntry tarArchiveEntry)