else
{
target = outputDirectory + "/" + destName;
}
final PlexusIoFileResource
res = new PlexusIoFileResource( source, ArchiverAttributeUtils.getFileAttributes( source ));
PlexusIoResource restoUse = res;
try
{
final InputStreamTransformer fileSetTransformers =
ReaderFormatter.getFileSetTransformers( configSource, fileItem.isFiltered(), fileItem.getLineEnding() );
if (fileSetTransformers != null){
restoUse = new Deferred( res ){
@Override
protected InputStream getInputStream()
throws IOException
{
return fileSetTransformers.transform(res, res.getContents());
}
@Override
public String getName()
{ return res.getName();
}
}.asResource();
}
int mode = TypeConversionUtils.modeToInt( fileItem.getFileMode(), getLogger() );