public final class LocalReadCommand extends org.mule.extension.file.common.api.command.FileCommand<LocalFileSystem> implements org.mule.extension.file.common.api.command.ReadCommand
LocalFileCommand which implements the ReadCommand contract| Constructor and Description |
|---|
LocalReadCommand(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) |
org.mule.runtime.extension.api.runtime.operation.Result<InputStream,org.mule.extension.file.common.api.FileAttributes> |
read(org.mule.extension.file.common.api.FileConnectorConfig config,
String filePath,
org.mule.runtime.api.metadata.MediaType mediaType,
boolean lock) |
public LocalReadCommand(LocalFileSystem fileSystem)
public org.mule.runtime.extension.api.runtime.operation.Result<InputStream,org.mule.extension.file.common.api.FileAttributes> read(org.mule.extension.file.common.api.FileConnectorConfig config, String filePath, org.mule.runtime.api.metadata.MediaType mediaType, boolean lock)
read in interface org.mule.extension.file.common.api.command.ReadCommandprotected 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.