| 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 |
FilePredicateBuilder<T extends FilePredicateBuilder,Attributes extends FileAttributes>
Builds a
Predicate which verifies that a FileAttributes instance is compliant with a number of criterias. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFileAttributes
Base class for implementations of
FileAttributes |
| Modifier and Type | Method and Description |
|---|---|
FileAttributes |
TreeNode.getAttributes() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends FileAttributes> |
FileSystem.getAttributesType()
The concrete class that represents the attributes related to the
FileSystem implementation. |
org.mule.runtime.extension.api.runtime.operation.Result<InputStream,FileAttributes> |
StandardFileSystemOperations.read(FileConnectorConfig config,
FileSystem fileSystem,
org.mule.runtime.api.message.Message message,
String path,
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,
org.mule.runtime.api.message.Message message,
String filePath,
boolean lock)
Obtains the content and metadata of a file at a given path.
|
org.mule.runtime.extension.api.runtime.operation.Result<InputStream,FileAttributes> |
FileSystem.read(FileConnectorConfig config,
org.mule.runtime.api.message.Message message,
String filePath,
boolean lock)
Obtains the content and metadata of a file at a given path.
|
| Modifier and Type | Method and Description |
|---|---|
static TreeNode.Builder |
TreeNode.Builder.forDirectory(FileAttributes attributes)
Obtains a new
TreeNode.Builder instance to be used to create a TreeNode which references a directory |
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 |
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 |
| Modifier and Type | Method and Description |
|---|---|
static TreeNode.Builder |
TreeNode.Builder.forFile(org.mule.runtime.extension.api.runtime.operation.Result<InputStream,FileAttributes> message)
Obtains a new
TreeNode.Builder instance to be used to create a TreeNode which references a file |
TreeNode |
AbstractFileSystem.list(FileConnectorConfig config,
String directoryPath,
boolean recursive,
org.mule.runtime.api.message.Message message,
Predicate<FileAttributes> matcher)
Lists all the files in the
directoryPath which match the given matcher. |
TreeNode |
FileSystem.list(FileConnectorConfig config,
String directoryPath,
boolean recursive,
org.mule.runtime.api.message.Message message,
Predicate<FileAttributes> matcher)
Lists all the files in the
directoryPath which match the given matcher. |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.extension.api.runtime.operation.Result<InputStream,FileAttributes> |
ReadCommand.read(FileConnectorConfig config,
org.mule.runtime.api.message.Message message,
String filePath,
boolean lock)
Reads files under the considerations of
FileSystem.read(FileConnectorConfig, Message, String, boolean) |
| Modifier and Type | Method and Description |
|---|---|
TreeNode |
ListCommand.list(FileConnectorConfig config,
String directoryPath,
boolean recursive,
org.mule.runtime.api.message.Message message,
Predicate<FileAttributes> matcher)
Lists files under the considerations of
FileSystem.list(FileConnectorConfig, String, boolean, Message, Predicate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
NullFilePayloadPredicate.test(FileAttributes fileAttributes) |
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.