public final class LocalListCommand extends org.mule.extension.file.common.api.command.FileCommand<LocalFileSystem> implements org.mule.extension.file.common.api.command.ListCommand
LocalFileCommand which implements the ListCommand| Constructor and Description |
|---|
LocalListCommand(LocalFileSystem fileSystem) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doMkDirs(Path directoryPath)
|
protected boolean |
exists(Path path) |
protected Path |
getBasePath(org.mule.extension.file.common.api.FileSystem fileSystem) |
List<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,org.mule.extension.file.common.api.FileAttributes>> |
list(org.mule.extension.file.common.api.FileConnectorConfig config,
String directoryPath,
boolean recursive,
org.mule.runtime.api.metadata.MediaType mediaType,
Predicate<org.mule.extension.file.common.api.FileAttributes> matcher) |
public LocalListCommand(LocalFileSystem fileSystem)
public List<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,org.mule.extension.file.common.api.FileAttributes>> list(org.mule.extension.file.common.api.FileConnectorConfig config, String directoryPath, boolean recursive, org.mule.runtime.api.metadata.MediaType mediaType, Predicate<org.mule.extension.file.common.api.FileAttributes> matcher)
list in interface org.mule.extension.file.common.api.command.ListCommandprotected Path getBasePath(org.mule.extension.file.common.api.FileSystem fileSystem)
getBasePath in class org.mule.extension.file.common.api.command.FileCommand<LocalFileSystem>protected boolean exists(Path path)
exists in class org.mule.extension.file.common.api.command.FileCommand<LocalFileSystem>protected void doMkDirs(Path directoryPath)
doMkDirs in class org.mule.extension.file.common.api.command.FileCommand<LocalFileSystem>directoryPath - a Path pointing to the directory you want to createCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.