public interface ListCommand
| Modifier and Type | Method and Description |
|---|---|
TreeNode |
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) |
TreeNode list(FileConnectorConfig config, String directoryPath, boolean recursive, org.mule.runtime.api.message.Message message, Predicate<FileAttributes> matcher)
FileSystem.list(FileConnectorConfig, String, boolean, Message, Predicate)config - the config that is parameterizing this operationdirectoryPath - the path to the directory to be listedrecursive - whether to include the contents of sub-directoriesmessage - the Message on which this operation was triggeredmatcher - a Predicate of FileAttributes used to filter the output listTreeNode object representing the listed directoryIllegalArgumentException - if directoryPath points to a file which doesn't exists or is not a directoryCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.