| Modifier and Type | Method and Description |
|---|---|
protected Predicate<FtpFileAttributes> |
FtpFilePredicateBuilder.addConditions(Predicate<FtpFileAttributes> predicate) |
| Modifier and Type | Method and Description |
|---|---|
protected Predicate<FtpFileAttributes> |
FtpFilePredicateBuilder.addConditions(Predicate<FtpFileAttributes> predicate) |
| Modifier and Type | Class and Description |
|---|---|
class |
ClassicFtpFileAttributes
Implementation of
FtpFileAttributes for files read from a FTP server. |
| Modifier and Type | Class and Description |
|---|---|
class |
SftpFileAttributes
Implementation of
FtpFileAttributes for files read from a SFTP server. |
| Modifier and Type | Method and Description |
|---|---|
List<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,FtpFileAttributes>> |
FtpOperations.list(org.mule.extension.file.common.api.FileConnectorConfig config,
FtpFileSystem fileSystem,
String directoryPath,
boolean recursive,
org.mule.runtime.api.metadata.MediaType mediaType,
org.mule.extension.file.common.api.FilePredicateBuilder matchWith)
Lists all the files in the
directoryPath which match the given matcher. |
org.mule.runtime.extension.api.runtime.operation.Result<InputStream,FtpFileAttributes> |
FtpOperations.read(org.mule.extension.file.common.api.FileConnectorConfig config,
FtpFileSystem fileSystem,
String path,
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 |
|---|---|
protected static Supplier<InputStream> |
FtpInputStream.getStreamSupplier(FtpFileAttributes attributes,
org.mule.runtime.api.connection.ConnectionHandler<FtpFileSystem> connectionHandler) |
| Modifier and Type | Method and Description |
|---|---|
static FtpInputStream |
ClassicFtpInputStream.newInstance(FtpConnector config,
FtpFileAttributes attributes,
org.mule.extension.file.common.api.lock.PathLock lock)
Establishes the underlying connection and returns a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
protected FtpFileAttributes |
FtpCommand.getExistingFile(String filePath)
Similar to
FtpCommand.getFile(String) but throwing an IllegalArgumentException if the
filePath doesn't exists |
FtpFileAttributes |
FtpCommand.getFile(String filePath)
Obtains a
FtpFileAttributes for the given filePath by using the FTPClient.mlistFile(String) FTP
command |
protected abstract FtpFileAttributes |
FtpCommand.getFile(String filePath,
boolean requireExistence) |
| Modifier and Type | Method and Description |
|---|---|
static FtpInputStream |
SftpInputStream.newInstance(FtpConnector config,
FtpFileAttributes attributes,
org.mule.extension.file.common.api.lock.PathLock lock)
Establishes the underlying connection and returns a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
protected FtpFileAttributes |
SftpCommand.getFile(String filePath,
boolean requireExistence) |
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.