Documentation Home | Common Home
This object provides steps for working with FileManager implementations.
These steps will copy the contents from the source path using the source FileManager to the destination path using the destination FileManager using input and output streams. Full parameter descriptions are listed below:
- srcFS - The source FileManager used to gain access to the data.
- srcPath - The path on the source file system containing the data to copy.
- destFS - The destination FileManger used to write the output data.
- destPath - The path on the destination file system to write the data.
Includes the parameters for auto buffering but exposes the input and output buffer sizes:
- inputBufferSize - The size of the buffer to use for reading data during copy
- outputBufferSize - The size of the buffer to use for writing data during copy
Includes the parameters for basic buffering but exposes the copy buffer size:
- copyBufferSize - The intermediate buffer size to use during copy
This step will compare the size of the source and destination files and return -1 if the source file size is smaller than the destination file size, 0 if they are the same and 1 if the source file size is larger than the source file size.
- srcFS - The source FileManager.
- srcPath - The path on the source file system to the file.
- destFS - The destination FileManger.
- destPath - The path on the destination file system to the file.
This step will get an input stream.
- fileManager - The FileManager.
- path - The path to the file being read.
- bufferSize - The optional buffer size. Uses the file manager's default if not provided.
This step will get an Output stream.
- fileManager - The FileManager.
- path - The path to the file being written.
- append - The optional append flag. Uses the file manager's default if not provided.
- bufferSize - The optional buffer size. Uses the file manager's default if not provided.
This step will rename a file.
- fileManager - The FileManager.
- path - The path to the file being renamed.
- destPath - The destination path.
This step will return the size of a file.
- fileManager - The FileManager.
- path - The path to the file being checked.
This step will return whether a file exists.
- fileManager - The FileManager.
- path - The path to the file being checked.
This step will return a file listing.
- fileManager - The FileManager.
- path - The path to list.
- recursive - Indicates whether to perform a recursive listing. Uses the file manager's default if not provided.
This step will return a file listing.
- fileManager - The FileManager.
- path - The path to list.
This step will delete a file.
- fileManager - The FileManager.
- path - The path to the file being deleted.
This step provides an easy way to disconnect the FileManager and free any resources. Full parameter descriptions are listed below:
- fileManager - The FileManager to disconnect.
This step will create a FileManager using the provided FileConnector.
Full parameter descriptions are listed below:
- fileConnector - The FileConnector with implementation information.