| Package | Description |
|---|---|
| org.mule.extension.file.common.api | |
| org.mule.extension.file.common.api.command |
| Modifier and Type | Method and Description |
|---|---|
void |
FileSystem.copy(FileConnectorConfig config,
String sourcePath,
String targetPath,
boolean overwrite,
boolean createParentDirectories,
String renameTo)
Copies the file at the
sourcePath into the targetPath. |
void |
AbstractFileSystem.copy(FileConnectorConfig config,
String sourcePath,
String targetDirectory,
boolean overwrite,
boolean createParentDirectories,
String renameTo)
Copies the file at the
sourcePath into the targetPath. |
protected void |
BaseFileSystemOperations.doCopy(FileConnectorConfig config,
FileSystem fileSystem,
String sourcePath,
String targetPath,
boolean createParentDirectories,
boolean overwrite,
String renameTo)
Copies the file at the
sourcePath into the targetPath. |
protected List<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,FileAttributes>> |
BaseFileSystemOperations.doList(FileConnectorConfig config,
FileSystem fileSystem,
String directoryPath,
boolean recursive,
org.mule.runtime.api.metadata.MediaType mediaType,
FileMatcher matchWith)
Lists all the files in the
directoryPath which match the given matcher. |
protected void |
BaseFileSystemOperations.doMove(FileConnectorConfig config,
FileSystem fileSystem,
String sourcePath,
String targetPath,
boolean createParentDirectories,
boolean overwrite,
String renameTo)
Moves the file at the
sourcePath into the targetPath. |
protected org.mule.runtime.extension.api.runtime.operation.Result<InputStream,FileAttributes> |
BaseFileSystemOperations.doRead(FileConnectorConfig config,
FileSystem fileSystem,
String path,
org.mule.runtime.api.metadata.MediaType mediaType,
boolean lock)
Obtains the content and metadata of a file at a given path.
|
protected void |
BaseFileSystemOperations.doWrite(FileConnectorConfig config,
FileSystem fileSystem,
String path,
InputStream content,
String encoding,
boolean createParentDirectories,
boolean lock,
FileWriteMode mode)
Writes the
content into the file pointed by path. |
List<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,FileAttributes>> |
FileSystem.list(FileConnectorConfig config,
String directoryPath,
boolean recursive,
org.mule.runtime.api.metadata.MediaType mediaType,
Predicate<FileAttributes> matcher)
Lists all the files in the
directoryPath which match the given matcher. |
List<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,FileAttributes>> |
AbstractFileSystem.list(FileConnectorConfig config,
String directoryPath,
boolean recursive,
org.mule.runtime.api.metadata.MediaType mediaType,
Predicate<FileAttributes> matcher)
Lists all the files in the
directoryPath which match the given matcher. |
void |
FileSystem.move(FileConnectorConfig config,
String sourcePath,
String targetPath,
boolean overwrite,
boolean createParentDirectories,
String renameTo)
Moves the file at the
sourcePath into the targetPath. |
void |
AbstractFileSystem.move(FileConnectorConfig config,
String sourcePath,
String targetDirectory,
boolean overwrite,
boolean createParentDirectories,
String renameTo)
Moves the file at the
sourcePath into the targetPath. |
org.mule.runtime.extension.api.runtime.operation.Result<InputStream,FileAttributes> |
FileSystem.read(FileConnectorConfig config,
String filePath,
org.mule.runtime.api.metadata.MediaType mediaType,
boolean lock)
Obtains the content and metadata of a file at a given path.
|
org.mule.runtime.extension.api.runtime.operation.Result<InputStream,FileAttributes> |
AbstractFileSystem.read(FileConnectorConfig config,
String filePath,
org.mule.runtime.api.metadata.MediaType mediaType,
boolean lock)
Obtains the content and metadata of a file at a given path.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CopyCommand.copy(FileConnectorConfig config,
String sourcePath,
String targetPath,
boolean overwrite,
boolean createParentDirectories,
String renameTo)
Performs a copy operation under the considerations of
FileSystem.copy(FileConnectorConfig, String, String, boolean, boolean, String) |
List<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,FileAttributes>> |
ListCommand.list(FileConnectorConfig config,
String directoryPath,
boolean recursive,
org.mule.runtime.api.metadata.MediaType mediaType,
Predicate<FileAttributes> matcher)
Lists files under the considerations of
FileSystem.list(FileConnectorConfig, String, boolean, MediaType, Predicate) |
void |
MoveCommand.move(FileConnectorConfig config,
String sourcePath,
String targetPath,
boolean overwrite,
boolean createParentDirectories,
String renameTo)
Moves files under the considerations of
FileSystem.move(FileConnectorConfig, String, String, boolean, boolean, String) |
org.mule.runtime.extension.api.runtime.operation.Result<InputStream,FileAttributes> |
ReadCommand.read(FileConnectorConfig config,
String filePath,
org.mule.runtime.api.metadata.MediaType mediaType,
boolean lock)
Reads files under the considerations of
FileSystem.read(FileConnectorConfig, String, MediaType, boolean) |
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.