| Package | Description |
|---|---|
| org.mule.extension.file.common.api | |
| org.mule.extension.file.common.api.command | |
| org.mule.extension.file.common.api.matcher |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFileSystem<A extends FileAttributes>
Base class for implementations of
FileSystem |
interface |
FileSystem<A extends FileAttributes>
Represents an abstract file system and the operations which can be performed on it.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFileAttributes
Base class for implementations of
FileAttributes |
| Modifier and Type | Method and Description |
|---|---|
protected List<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,FileAttributes>> |
BaseFileSystemOperations.doList(FileConnectorConfig config,
FileSystem fileSystem,
String directoryPath,
boolean recursive,
FileMatcher matchWith)
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)
Obtains the content and metadata of a file at a given path.
|
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.metadata.MediaType |
AbstractFileSystem.getFileMessageMediaType(FileAttributes attributes)
Creates a new
DataType to be associated with a Message which payload is a InputStream and the
attributes an instance of FileAttributes |
org.mule.runtime.api.metadata.MediaType |
FileSystem.getFileMessageMediaType(FileAttributes attributes)
Creates a new
DataType to be associated with a Message which payload is a InputStream and the
attributes an instance of FileAttributes |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ListCommand<A extends FileAttributes>
Command design pattern for listing files
|
interface |
ReadCommand<A extends FileAttributes>
Command design pattern for reading files
|
| Modifier and Type | Class and Description |
|---|---|
class |
FileMatcher<T extends FileMatcher,A extends FileAttributes>
Builds a
Predicate which verifies that a FileAttributes instance is compliant with a number of criterias. |
class |
NullFilePayloadPredicate<T extends FileAttributes>
A
Predicate of FileAttributes instances which accepts any value |
Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.