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

Enclosing class:
FileTransformations

public static interface FileTransformations.DirectoryCombiner

See Also:
combineDirectory(String, ConsumerWhichThrows)

Field Summary
static FileTransformations.DirectoryCombiner NOP
          An FileTransformations.DirectoryCombiner that does nothing.
 
Method Summary
 void combineDirectory(java.lang.String directoryPath, ConsumerWhichThrows<FileTransformations.NameAndContents,java.io.IOException> memberAdder)
          Combines the results of FileTransformer.transform(String, File, File, Mode) for all directory members into one object.
 

Field Detail

NOP

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

Method Detail

combineDirectory

void combineDirectory(java.lang.String directoryPath,
                      ConsumerWhichThrows<FileTransformations.NameAndContents,java.io.IOException> memberAdder)
                      throws java.io.IOException
Combines the results of FileTransformer.transform(String, File, File, Mode) for all directory members into one object.

Parameters:
directoryPath - The path designating the directory being transformed
memberAdder - Can be called to add members to the directory
Throws:
java.io.IOException