|
||||||||||
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)
Creates a new GenericFile |
GenericFile<T> |
GenericFile.clone()
|
GenericFile<T> |
GenericFile.copyFrom(GenericFile<T> source)
Creates a clone based on the source |
GenericFile<T> |
GenericFileMessage.getGenericFile()
|
GenericFile<T> |
GenericFileExchange.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 | |
---|---|
boolean |
AntPathMatcherGenericFileFilter.accept(GenericFile file)
|
boolean |
GenericFileFilter.accept(GenericFile<T> file)
Tests whether or not the specified generic file should be included |
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,
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 |
void |
GenericFileEndpoint.configureMessage(GenericFile<T> file,
Message message)
Configures the given message with the file which sets the body to the file object. |
static String |
GenericFileConverter.convertToString(GenericFile file,
Exchange exchange)
|
GenericFile<T> |
GenericFile.copyFrom(GenericFile<T> source)
Creates a clone based on the source |
GenericFileExchange<File> |
FileEndpoint.createExchange(GenericFile<File> file)
|
abstract GenericFileExchange<T> |
GenericFileEndpoint.createExchange(GenericFile<T> file)
|
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 |
GenericFileConsumer.isMatched(GenericFile<T> file,
boolean isDirectory)
Strategy to perform file matching based on endpoint configuration. |
protected boolean |
GenericFileConsumer.isValidFile(GenericFile<T> file,
boolean isDirectory)
Strategy for validating if the given remote file should be included or not |
void |
FileBinding.loadContent(Exchange exchange,
GenericFile<File> file)
|
void |
GenericFileDefaultBinding.loadContent(Exchange exchange,
GenericFile<T> file)
|
void |
GenericFileBinding.loadContent(Exchange exchange,
GenericFile<T> file)
Loads the content from the file into memory |
protected void |
GenericFileExchange.populateHeaders(GenericFile<T> file)
|
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. |
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,
GenericFileExchange<T> 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)
|
void |
GenericFileExchange.setGenericFile(GenericFile<T> file)
|
Method parameters in org.apache.camel.component.file with type arguments of type GenericFile | |
---|---|
protected void |
FileConsumer.pollDirectory(String fileName,
List<GenericFile<File>> fileList)
|
protected abstract void |
GenericFileConsumer.pollDirectory(String fileName,
List<GenericFile<T>> fileList)
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 | |
---|---|
GenericFileExchange(DefaultExchange parent,
GenericFile<T> file)
|
|
GenericFileMessage(GenericFile<T> file)
|
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(GenericFileExchange<T> exchange,
GenericFile<T> file)
Renames the given file |
GenericFile<T> |
GenericFileExpressionRenamer.renameFile(GenericFileExchange<T> exchange,
GenericFile<T> file)
|
Methods in org.apache.camel.component.file.strategy with parameters of type GenericFile | |
---|---|
boolean |
MarkerFileExclusiveReadLockStrategy.acquireExclusiveReadLock(GenericFileOperations<File> fileGenericFileOperations,
GenericFile<File> file,
Exchange exchange)
|
boolean |
FileLockExclusiveReadLockStrategy.acquireExclusiveReadLock(GenericFileOperations<File> operations,
GenericFile<File> file,
Exchange exchange)
|
boolean |
GenericFileRenameExclusiveReadLockStrategy.acquireExclusiveReadLock(GenericFileOperations<T> operations,
GenericFile<T> file,
Exchange exchange)
|
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)
|
void |
MarkerFileExclusiveReadLockStrategy.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(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)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |