|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use GenericFile | |
---|---|
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 GenericFile in org.apache.camel.component.file |
---|
Fields in org.apache.camel.component.file with type parameters of type GenericFile | |
---|---|
protected Comparator<GenericFile<T>> |
GenericFileEndpoint.sorter
|
Methods in org.apache.camel.component.file that return GenericFile | |
---|---|
static GenericFile<File> |
FileConsumer.asGenericFile(String endpointPath,
File file,
String charset)
Creates a new GenericFile |
GenericFile<T> |
GenericFile.copyFrom(GenericFile<T> source)
Creates a copy based on the source |
GenericFile<T> |
GenericFileMessage.getGenericFile()
|
Methods in org.apache.camel.component.file that return types with arguments of type GenericFile | |
---|---|
Comparator<GenericFile<T>> |
GenericFileEndpoint.getSorter()
|
static Comparator<GenericFile<?>> |
GenericFileDefaultSorter.sortByLastModified(boolean reverse)
Returns a new sort by last modified (newest first) |
static Comparator<GenericFile<?>> |
GenericFileDefaultSorter.sortByName(boolean reverse)
Returns a new sort by name |
static Comparator<GenericFile<?>> |
GenericFileDefaultSorter.sortByPathName(boolean reverse)
Returns a new sort by path name |
static Comparator<GenericFile<?>> |
GenericFileDefaultSorter.sortBySize(boolean reverse)
Returns a new sort by file size (smallest first) |
Methods in org.apache.camel.component.file with parameters of type GenericFile | |
---|---|
void |
GenericFileProcessStrategy.abort(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
Called when a begin is aborted, for example to release any resources which may have been acquired during the GenericFileProcessStrategy.begin(GenericFileOperations, GenericFileEndpoint, org.apache.camel.Exchange, GenericFile)
operation. |
boolean |
GenericFileFilter.accept(GenericFile<T> file)
Tests whether or not the specified generic file should be included |
boolean |
AntPathMatcherGenericFileFilter.accept(GenericFile<T> file)
|
boolean |
GenericFileExclusiveReadLockStrategy.acquireExclusiveReadLock(GenericFileOperations<T> operations,
GenericFile<T> file,
Exchange exchange)
Acquires exclusive read lock to the file. |
boolean |
GenericFileProcessStrategy.begin(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
Called when work is about to begin on this file. |
void |
GenericFileProcessStrategy.commit(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
Releases any file locks and possibly deletes or moves the file after successful processing |
void |
GenericFileEndpoint.configureMessage(GenericFile<T> file,
Message message)
Configures the given message with the file which sets the body to the file object. |
GenericFile<T> |
GenericFile.copyFrom(GenericFile<T> source)
Creates a copy based on the source |
void |
GenericFile.copyFromPopulateAdditional(GenericFile<T> source,
GenericFile<T> result)
Copies additional information from the source to the result. |
void |
GenericFile.copyFromPopulateAdditional(GenericFile<T> source,
GenericFile<T> result)
Copies additional information from the source to the result. |
Exchange |
FileEndpoint.createExchange(GenericFile<File> file)
|
abstract Exchange |
GenericFileEndpoint.createExchange(GenericFile<T> file)
|
static InputStream |
GenericFileConverter.genericFileToInputStream(GenericFile<?> file,
Exchange exchange)
|
static Serializable |
GenericFileConverter.genericFileToSerializable(GenericFile<?> file,
Exchange exchange)
|
static String |
GenericFileConverter.genericFileToString(GenericFile<?> file,
Exchange exchange)
|
Object |
FileBinding.getBody(GenericFile<File> file)
|
Object |
GenericFileDefaultBinding.getBody(GenericFile<T> file)
|
Object |
GenericFileBinding.getBody(GenericFile<T> file)
Gets the body of the file |
protected boolean |
GenericFileConsumer.isInProgress(GenericFile<T> file)
Is the given file already in progress. |
protected boolean |
FileConsumer.isMatched(GenericFile<File> file,
String doneFileName,
List<File> files)
|
protected boolean |
GenericFileConsumer.isMatched(GenericFile<T> file,
boolean isDirectory,
List<T> files)
Strategy to perform file matching based on endpoint configuration. |
protected abstract boolean |
GenericFileConsumer.isMatched(GenericFile<T> file,
String doneFileName,
List<T> files)
Strategy to perform file matching based on endpoint configuration in terms of done file name. |
protected boolean |
GenericFileConsumer.isValidFile(GenericFile<T> file,
boolean isDirectory,
List<T> files)
Strategy for validating if the given remote file should be included or not |
void |
GenericFileDefaultBinding.loadContent(Exchange exchange,
GenericFile<?> file)
|
void |
GenericFileBinding.loadContent(Exchange exchange,
GenericFile<?> file)
Ensures the content is loaded from the file into memory |
void |
FileBinding.loadContent(Exchange exchange,
GenericFile<?> file)
|
protected void |
GenericFileOnCompletion.processStrategyCommit(GenericFileProcessStrategy<T> processStrategy,
Exchange exchange,
GenericFile<T> file)
Strategy when the file was processed and a commit should be executed. |
protected void |
GenericFileOnCompletion.processStrategyRollback(GenericFileProcessStrategy<T> processStrategy,
Exchange exchange,
GenericFile<T> file)
Strategy when the file was not processed and a rollback should be executed. |
void |
GenericFileExclusiveReadLockStrategy.releaseExclusiveReadLock(GenericFileOperations<T> operations,
GenericFile<T> file,
Exchange exchange)
Releases the exclusive read lock granted by the acquireExclusiveReadLock method. |
void |
GenericFileProcessStrategy.rollback(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
Releases any file locks and possibly deletes or moves the file after unsuccessful processing |
void |
FileBinding.setBody(GenericFile<File> file,
Object body)
|
void |
GenericFileDefaultBinding.setBody(GenericFile<T> file,
Object body)
|
void |
GenericFileBinding.setBody(GenericFile<T> file,
Object body)
Sets the body from the given file |
void |
GenericFileMessage.setGenericFile(GenericFile<T> file)
|
Method parameters in org.apache.camel.component.file with type arguments of type GenericFile | |
---|---|
protected boolean |
FileConsumer.pollDirectory(String fileName,
List<GenericFile<File>> fileList,
int depth)
|
protected abstract boolean |
GenericFileConsumer.pollDirectory(String fileName,
List<GenericFile<T>> fileList,
int depth)
Polls the given directory for files to process |
void |
GenericFileEndpoint.setSorter(Comparator<GenericFile<T>> sorter)
|
Constructors in org.apache.camel.component.file with parameters of type GenericFile | |
---|---|
GenericFileMessage(GenericFile<T> file)
|
|
GenericFileOnCompletion(GenericFileEndpoint<T> endpoint,
GenericFileOperations<T> operations,
GenericFile<T> file,
String absoluteFileName)
|
Uses of GenericFile in org.apache.camel.component.file.strategy |
---|
Methods in org.apache.camel.component.file.strategy that return GenericFile | |
---|---|
GenericFile<T> |
GenericFileRenamer.renameFile(Exchange exchange,
GenericFile<T> file)
Renames the given file |
GenericFile<T> |
GenericFileExpressionRenamer.renameFile(Exchange exchange,
GenericFile<T> file)
|
protected GenericFile<T> |
GenericFileProcessStrategySupport.renameFile(GenericFileOperations<T> operations,
GenericFile<T> from,
GenericFile<T> to)
|
Methods in org.apache.camel.component.file.strategy with parameters of type GenericFile | |
---|---|
void |
GenericFileProcessStrategySupport.abort(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
|
boolean |
MarkerFileExclusiveReadLockStrategy.acquireExclusiveReadLock(GenericFileOperations<File> operations,
GenericFile<File> file,
Exchange exchange)
|
boolean |
FileRenameExclusiveReadLockStrategy.acquireExclusiveReadLock(GenericFileOperations<File> operations,
GenericFile<File> file,
Exchange exchange)
|
boolean |
FileLockExclusiveReadLockStrategy.acquireExclusiveReadLock(GenericFileOperations<File> operations,
GenericFile<File> file,
Exchange exchange)
|
boolean |
FileChangedExclusiveReadLockStrategy.acquireExclusiveReadLock(GenericFileOperations<File> operations,
GenericFile<File> file,
Exchange exchange)
|
boolean |
GenericFileRenameExclusiveReadLockStrategy.acquireExclusiveReadLock(GenericFileOperations<T> operations,
GenericFile<T> file,
Exchange exchange)
|
boolean |
GenericFileRenameProcessStrategy.begin(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
|
boolean |
GenericFileProcessStrategySupport.begin(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
|
boolean |
GenericFileDeleteProcessStrategy.begin(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
|
void |
GenericFileRenameProcessStrategy.commit(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
|
void |
GenericFileProcessStrategySupport.commit(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
|
void |
GenericFileDeleteProcessStrategy.commit(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
|
void |
MarkerFileExclusiveReadLockStrategy.releaseExclusiveReadLock(GenericFileOperations<File> operations,
GenericFile<File> file,
Exchange exchange)
|
void |
FileRenameExclusiveReadLockStrategy.releaseExclusiveReadLock(GenericFileOperations<File> operations,
GenericFile<File> file,
Exchange exchange)
|
void |
FileLockExclusiveReadLockStrategy.releaseExclusiveReadLock(GenericFileOperations<File> operations,
GenericFile<File> file,
Exchange exchange)
|
void |
GenericFileRenameExclusiveReadLockStrategy.releaseExclusiveReadLock(GenericFileOperations<T> operations,
GenericFile<T> file,
Exchange exchange)
|
GenericFile<T> |
GenericFileRenamer.renameFile(Exchange exchange,
GenericFile<T> file)
Renames the given file |
GenericFile<T> |
GenericFileExpressionRenamer.renameFile(Exchange exchange,
GenericFile<T> file)
|
protected GenericFile<T> |
GenericFileProcessStrategySupport.renameFile(GenericFileOperations<T> operations,
GenericFile<T> from,
GenericFile<T> to)
|
protected GenericFile<T> |
GenericFileProcessStrategySupport.renameFile(GenericFileOperations<T> operations,
GenericFile<T> from,
GenericFile<T> to)
|
void |
GenericFileRenameProcessStrategy.rollback(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
|
void |
GenericFileProcessStrategySupport.rollback(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
|
void |
GenericFileDeleteProcessStrategy.rollback(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |