Uses of Class
org.apache.camel.component.file.GenericFileExchange

Packages that use GenericFileExchange
org.apache.camel.component.file The File Component for working with file systems. 
org.apache.camel.component.file.strategy Strategies for the File Component. 
 

Uses of GenericFileExchange in org.apache.camel.component.file
 

Fields in org.apache.camel.component.file with type parameters of type GenericFileExchange
protected  Comparator<GenericFileExchange> GenericFileEndpoint.sortBy
           
 

Methods in org.apache.camel.component.file that return GenericFileExchange
 GenericFileExchange FileEndpoint.createExchange()
           
 GenericFileExchange<File> FileEndpoint.createExchange(GenericFile<File> file)
           
abstract  GenericFileExchange<T> GenericFileEndpoint.createExchange(GenericFile<T> file)
           
 GenericFileExchange<T> GenericFileMessage.getExchange()
           
 

Methods in org.apache.camel.component.file that return types with arguments of type GenericFileExchange
 Comparator<GenericFileExchange> GenericFileEndpoint.getSortBy()
           
static Comparator<GenericFileExchange> GenericFileDefaultSorter.sortByFileLanguage(CamelContext context, String expression, boolean reverse)
          Returns a new sory by file language expression
static Comparator<GenericFileExchange> GenericFileDefaultSorter.sortByFileLanguage(CamelContext context, String expression, boolean reverse, boolean ignoreCase)
          Returns a new sory by file language expression
static Comparator<GenericFileExchange> GenericFileDefaultSorter.sortByFileLanguage(CamelContext context, String expression, boolean reverse, boolean ignoreCase, Comparator<GenericFileExchange> nested)
          Returns a new sort by file language expression
 

Methods in org.apache.camel.component.file with parameters of type GenericFileExchange
 boolean GenericFileProcessStrategy.begin(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, GenericFileExchange<T> exchange, GenericFile<T> file)
          Called when work is about to begin on this file.
 void GenericFileProcessStrategy.commit(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, GenericFileExchange<T> exchange, GenericFile<T> file)
          Releases any file locks and possibly deletes or moves the file after successful processing
protected  void GenericFileProducer.handleFailedWrite(GenericFileExchange<T> exchange, Exception exception)
          If we fail writing out a file, we will call this method.
protected  void GenericFileOnCompletion.onCompletion(GenericFileExchange<T> exchange)
           
protected  void GenericFileProducer.processExchange(GenericFileExchange<T> exchange)
          Perform the work to process the fileExchange
protected  void GenericFileConsumer.processExchange(GenericFileExchange<T> exchange)
          Processes the exchange
protected  void GenericFileOnCompletion.processStrategyCommit(GenericFileProcessStrategy<T> processStrategy, GenericFileExchange<T> exchange, GenericFile<T> file)
          Strategy when the file was processed and a commit should be executed.
protected  void GenericFileOnCompletion.processStrategyRollback(GenericFileProcessStrategy<T> processStrategy, GenericFileExchange<T> exchange, GenericFile<T> file)
          Strategy when the file was not processed and a rollback should be executed.
 boolean FileOperations.retrieveFile(String name, GenericFileExchange<File> exchange)
           
 boolean GenericFileOperations.retrieveFile(String name, GenericFileExchange<T> exchange)
          Retrieves the file
 void GenericFileProcessStrategy.rollback(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, GenericFileExchange<T> exchange, GenericFile<T> file)
          Releases any file locks and possibly deletes or moves the file after unsuccessful processing
 boolean FileOperations.storeFile(String fileName, GenericFileExchange<File> exchange)
           
 boolean GenericFileOperations.storeFile(String name, GenericFileExchange<T> exchange)
          Stores the content as a new remote file (upload)
protected  void GenericFileProducer.writeFile(GenericFileExchange<T> exchange, String fileName)
           
 

Method parameters in org.apache.camel.component.file with type arguments of type GenericFileExchange
 void GenericFileEndpoint.setSortBy(Comparator<GenericFileExchange> sortBy)
           
static Comparator<GenericFileExchange> GenericFileDefaultSorter.sortByFileLanguage(CamelContext context, String expression, boolean reverse, boolean ignoreCase, Comparator<GenericFileExchange> nested)
          Returns a new sort by file language expression
 

Uses of GenericFileExchange in org.apache.camel.component.file.strategy
 

Methods in org.apache.camel.component.file.strategy with parameters of type GenericFileExchange
 boolean GenericFileProcessStrategySupport.begin(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, GenericFileExchange<T> exchange, GenericFile<T> file)
           
 boolean FileRenameProcessStrategy.begin(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, GenericFileExchange<T> exchange, GenericFile<T> file)
           
 void GenericFileProcessStrategySupport.commit(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, GenericFileExchange<T> exchange, GenericFile<T> file)
           
 void GenericFileDeleteProcessStrategy.commit(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, GenericFileExchange<T> exchange, GenericFile<T> file)
           
 void FileRenameProcessStrategy.commit(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, GenericFileExchange<T> exchange, GenericFile<T> file)
           
 GenericFile<T> GenericFileRenamer.renameFile(GenericFileExchange<T> exchange, GenericFile<T> file)
          Renames the given file
 GenericFile<T> GenericFileExpressionRenamer.renameFile(GenericFileExchange<T> exchange, GenericFile<T> file)
           
 void GenericFileProcessStrategySupport.rollback(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, GenericFileExchange<T> exchange, GenericFile<T> file)
           
 



Copyright © 2009 Apache Software Foundation. All Rights Reserved.