public class SftpInputStream extends FtpInputStream
FtpInputStream for SFTP connectionsin| Modifier and Type | Method and Description |
|---|---|
static FtpInputStream |
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.
|
beforeClose, doClose, getConnectionHandler, getFtpFileSystem, getStreamSupplierclose, isLockedpublic static FtpInputStream newInstance(FtpConnector config, FtpFileAttributes attributes, org.mule.extension.file.common.api.lock.PathLock lock) throws org.mule.runtime.api.connection.ConnectionException
Instances returned by this method MUST be closed or fully consumed.
config - the config which is parameterizing this operationattributes - a FileAttributes referencing the file which contents are to be fetchedlock - the PathLock to be usedFtpInputStreamorg.mule.runtime.api.connection.ConnectionException - if a connection could not be establishedCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.