de.unkrig.commons.file.filetransformation
Interface FileTransformations.ArchiveCombiner
- Enclosing class:
- FileTransformations
public static interface FileTransformations.ArchiveCombiner
- See Also:
combineArchive(String, ConsumerWhichThrows)
NOP
static final FileTransformations.ArchiveCombiner NOP
- An
FileTransformations.ArchiveCombiner that does nothing.
combineArchive
void combineArchive(java.lang.String archivePath,
ConsumerWhichThrows<FileTransformations.NameAndContents,java.io.IOException> entryAdder)
throws java.io.IOException
- Combines the results of
ContentsTransformer.transform(String, InputStream, java.io.OutputStream)
for all archive entries into one object.
- Parameters:
archivePath - The path designating the archive being transformedentryAdder - Can be called to add entries to the archive
- Throws:
java.io.IOException