public class SftpReceiverRequesterUtil extends Object
Constructor and Description |
---|
SftpReceiverRequesterUtil(ImmutableEndpoint endpoint) |
Modifier and Type | Method and Description |
---|---|
protected SftpUtil |
createSftpUtil(ImmutableEndpoint endpoint)
Creates an
SftpUtil instance. |
String[] |
getAvailableFiles(boolean onlyGetTheFirstOne) |
InputStream |
retrieveFile(String fileName,
SftpNotifier notifier) |
public SftpReceiverRequesterUtil(ImmutableEndpoint endpoint)
public String[] getAvailableFiles(boolean onlyGetTheFirstOne) throws Exception
Exception
public InputStream retrieveFile(String fileName, SftpNotifier notifier) throws Exception
Exception
protected SftpUtil createSftpUtil(ImmutableEndpoint endpoint)
SftpUtil
instance. Useful for testing proposes.endpoint
- necessary to create the SftpUtil instance.Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.