de.unkrig.commons.file.filetransformation
Interface FileTransformations.ArchiveCombiner

Enclosing class:
FileTransformations

public static interface FileTransformations.ArchiveCombiner

See Also:
combineArchive(String, ConsumerWhichThrows)

Field Summary
static FileTransformations.ArchiveCombiner NOP
          An FileTransformations.ArchiveCombiner that does nothing.
 
Method Summary
 void combineArchive(java.lang.String archivePath, ConsumerWhichThrows<FileTransformations.NameAndContents,java.io.IOException> entryAdder)
          Combines the results of ContentsTransformer.transform(String, InputStream, java.io.OutputStream) for all archive entries into one object.
 

Field Detail

NOP

static final FileTransformations.ArchiveCombiner NOP
An FileTransformations.ArchiveCombiner that does nothing.

Method Detail

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 transformed
entryAdder - Can be called to add entries to the archive
Throws:
java.io.IOException