org.apache.camel.component.file.strategy
Class GenericFileExpressionRenamer<T>

java.lang.Object
  extended by org.apache.camel.component.file.strategy.GenericFileExpressionRenamer<T>
All Implemented Interfaces:
GenericFileRenamer<T>

public class GenericFileExpressionRenamer<T>
extends Object
implements GenericFileRenamer<T>


Constructor Summary
GenericFileExpressionRenamer()
           
GenericFileExpressionRenamer(Expression expression)
           
 
Method Summary
 Expression getExpression()
           
 GenericFile<T> renameFile(Exchange exchange, GenericFile<T> file)
          Renames the given file
 void setExpression(Expression expression)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericFileExpressionRenamer

public GenericFileExpressionRenamer()

GenericFileExpressionRenamer

public GenericFileExpressionRenamer(Expression expression)
Method Detail

renameFile

public GenericFile<T> renameFile(Exchange exchange,
                                 GenericFile<T> file)
Description copied from interface: GenericFileRenamer
Renames the given file

Specified by:
renameFile in interface GenericFileRenamer<T>
Parameters:
exchange - the exchange
file - the original file.
Returns:
the renamed file name.

getExpression

public Expression getExpression()

setExpression

public void setExpression(Expression expression)


Apache CAMEL