| 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,
FileMatcher matchWith)
Deprecated.
|
protected List<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,FileAttributes>> |
BaseFileSystemOperations.doList(FileConnectorConfig config,
FileSystem fileSystem,
String directoryPath,
boolean recursive,
FileMatcher matchWith,
Long timeBetweenSizeCheck)
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.streaming.PagingProvider<FileSystem,org.mule.runtime.extension.api.runtime.operation.Result<org.mule.runtime.api.streaming.CursorProvider,FileAttributes>> |
BaseFileSystemOperations.doPagedList(FileConnectorConfig config,
String directoryPath,
boolean recursive,
FileMatcher matchWith,
Long timeBetweenSizeCheck,
org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper)
Lists all the files in the
directoryPath which match the given matcher. |
protected org.mule.runtime.extension.api.runtime.operation.Result<InputStream,FileAttributes> |
BaseFileSystemOperations.doRead(FileConnectorConfig config,
FileSystem fileSystem,
String path,
boolean lock)
Deprecated.
|
protected org.mule.runtime.extension.api.runtime.operation.Result<InputStream,FileAttributes> |
BaseFileSystemOperations.doRead(FileConnectorConfig config,
FileSystem fileSystem,
String path,
boolean lock,
Long timeBetweenSizeCheck)
Obtains the content and metadata of a file at a given path.
|
protected void |
BaseFileSystemOperations.doWrite(FileConnectorConfig config,
FileSystem fileSystem,
String path,
InputStream content,
boolean createParentDirectories,
boolean lock,
FileWriteMode mode)
Writes the
content into the file pointed by path. |
protected void |
BaseFileSystemOperations.doWrite(FileConnectorConfig config,
FileSystem fileSystem,
String path,
InputStream content,
String encoding,
boolean createParentDirectories,
boolean lock,
FileWriteMode mode)
Deprecated.
BaseFileSystemOperations.doWrite(FileConnectorConfig, FileSystem, String, InputStream, boolean, boolean, FileWriteMode)
must be used instead.
Writes the content into the file pointed by path.
If the directory on which the file is attempting to be written doesn't exist, then the operation will either throw
If the file itself already exists, then the behavior depends on the supplied
This operation also supports locking support depending on the value of the |
List<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,A>> |
FileSystem.list(FileConnectorConfig config,
String directoryPath,
boolean recursive,
Predicate<A> matcher)
Deprecated.
|
List<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,A>> |
AbstractFileSystem.list(FileConnectorConfig config,
String directoryPath,
boolean recursive,
Predicate<A> matcher)
Deprecated.
|
default List<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,A>> |
FileSystem.list(FileConnectorConfig config,
String directoryPath,
boolean recursive,
Predicate<A> matcher,
Long timeBetweenSizeCheck)
Lists all the files in the
directoryPath which match the given matcher. |
List<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,A>> |
AbstractFileSystem.list(FileConnectorConfig config,
String directoryPath,
boolean recursive,
Predicate<A> matcher,
Long timeBetweenSizeCheck)
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,A> |
FileSystem.read(FileConnectorConfig config,
String filePath,
boolean lock)
Deprecated.
|
org.mule.runtime.extension.api.runtime.operation.Result<InputStream,A> |
AbstractFileSystem.read(FileConnectorConfig config,
String filePath,
boolean lock)
Deprecated.
|
default org.mule.runtime.extension.api.runtime.operation.Result<InputStream,A> |
FileSystem.read(FileConnectorConfig config,
String filePath,
boolean lock,
Long timeBetweenSizeCheck)
Obtains the content and metadata of a file at a given path.
|
org.mule.runtime.extension.api.runtime.operation.Result<InputStream,A> |
AbstractFileSystem.read(FileConnectorConfig config,
String filePath,
boolean lock,
Long timeBetweenSizeCheck)
Obtains the content and metadata of a file at a given path.
|
| Constructor and Description |
|---|
AbstractConnectedFileInputStreamSupplier(FileAttributes attributes,
org.mule.runtime.core.api.connector.ConnectionManager connectionManager,
Long timeBetweenSizeCheck,
FileConnectorConfig config) |
| 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,A>> |
ListCommand.list(FileConnectorConfig config,
String directoryPath,
boolean recursive,
Predicate<A> matcher)
Deprecated.
|
default List<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,A>> |
ListCommand.list(FileConnectorConfig config,
String directoryPath,
boolean recursive,
Predicate<A> matcher,
Long timeBetweenSizeCheck)
Lists files under the considerations of
FileSystem.list(FileConnectorConfig, String, boolean, 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) |
default org.mule.runtime.extension.api.runtime.operation.Result<InputStream,A> |
ReadCommand.read(FileConnectorConfig config,
A attributes,
boolean lock,
Long timeBetweenSizeCheck)
Reads files under the considerations of
FileSystem.read(FileConnectorConfig, String, boolean) This method can be used
instead of ReadCommand.read(FileConnectorConfig, String, boolean, Long) to avoid extra processing to get the file
attributes again if that information is already collected (this is important if the attributes are gathered from a remote
server). |
org.mule.runtime.extension.api.runtime.operation.Result<InputStream,A> |
ReadCommand.read(FileConnectorConfig config,
String filePath,
boolean lock)
Deprecated.
|
default org.mule.runtime.extension.api.runtime.operation.Result<InputStream,A> |
ReadCommand.read(FileConnectorConfig config,
String filePath,
boolean lock,
Long timeBetweenSizeCheck)
Reads files under the considerations of
FileSystem.read(FileConnectorConfig, String, boolean) |
| Constructor and Description |
|---|
ManagerBasedConnectionSource(FileConnectorConfig config,
org.mule.runtime.core.api.connector.ConnectionManager connectionManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractPostActionGroup.apply(AbstractFileSystem fileSystem,
FileAttributes fileAttributes,
FileConnectorConfig config) |
Copyright © 2003–2019 MuleSoft, Inc.. All rights reserved.