| 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 |
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,
org.mule.runtime.api.metadata.MediaType mediaType,
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,
org.mule.runtime.api.metadata.MediaType mediaType,
boolean lock)
Obtains the content and metadata of a file at a given path.
|
Class<? extends FileAttributes> |
FileSystem.getAttributesType()
The concrete class that represents the attributes related to the
FileSystem implementation. |
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. |
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 |
|---|---|
org.mule.runtime.api.metadata.MediaType |
FileSystem.getFileMessageMediaType(org.mule.runtime.api.metadata.MediaType originalMediaType,
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 |
AbstractFileSystem.getFileMessageMediaType(org.mule.runtime.api.metadata.MediaType originalMediaType,
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 | Method and Description |
|---|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
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) |
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) |
| Modifier and Type | Method and Description |
|---|---|
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) |
| 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–2017 MuleSoft, Inc.. All rights reserved.