*/
public FileRenamer(File[] selection, String directoryPattern,
String filePattern, TransformSet transformSet) {
assert selection != null;
this.renameConfig = new RenameConfiguration(selection,
new DirectoryPattern(directoryPattern), new FilePattern(
filePattern), transformSet);
/*
* Applay transfomations
*/
this.renameConfig.getDirectoryPattern().setTransformSet(transformSet);