Package | Description |
---|---|
org.apache.camel.component.file |
The File Component for working with file systems.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FileOperations.buildDirectory(String directory,
boolean absolute) |
boolean |
GenericFileOperations.buildDirectory(String directory,
boolean absolute)
Builds the directory structure.
|
void |
FileOperations.changeCurrentDirectory(String path) |
void |
GenericFileOperations.changeCurrentDirectory(String path)
Change the current remote directory
|
void |
FileOperations.changeToParentDirectory() |
void |
GenericFileOperations.changeToParentDirectory()
Change the current remote directory to the parent
|
boolean |
FileOperations.deleteFile(String name) |
boolean |
GenericFileOperations.deleteFile(String name)
Deletes the file name by name, relative to the current directory
|
boolean |
FileOperations.existsFile(String name) |
boolean |
GenericFileOperations.existsFile(String name)
Determines whether the files exists or not
|
String |
FileOperations.getCurrentDirectory() |
String |
GenericFileOperations.getCurrentDirectory()
Gets the current remote directory
|
List<File> |
FileOperations.listFiles() |
List<T> |
GenericFileOperations.listFiles()
List the files in the current directory
|
List<File> |
FileOperations.listFiles(String path) |
List<T> |
GenericFileOperations.listFiles(String path)
List the files in the given remote directory
|
void |
FileOperations.releaseRetrievedFileResources(Exchange exchange) |
void |
GenericFileOperations.releaseRetrievedFileResources(Exchange exchange)
Releases the resources consumed by a retrieved file
|
boolean |
FileOperations.renameFile(String from,
String to) |
boolean |
GenericFileOperations.renameFile(String from,
String to)
Renames the file
|
boolean |
FileOperations.retrieveFile(String name,
Exchange exchange,
long size) |
boolean |
GenericFileOperations.retrieveFile(String name,
Exchange exchange,
long size)
Retrieves the file
|
boolean |
FileOperations.storeFile(String fileName,
Exchange exchange,
long size) |
boolean |
GenericFileOperations.storeFile(String name,
Exchange exchange,
long size)
Stores the content as a new remote file (upload)
|
void |
GenericFileProducer.writeFile(Exchange exchange,
String fileName) |
Apache Camel