org.mule.transport.sftp
Class SftpReceiverRequesterUtil

java.lang.Object
  extended by org.mule.transport.sftp.SftpReceiverRequesterUtil

public class SftpReceiverRequesterUtil
extends Object

Contains reusable methods not directly related to usage of the jsch sftp library (they can be found in the class SftpClient).

Author:
Magnus Larsson

Constructor Summary
SftpReceiverRequesterUtil(ImmutableEndpoint endpoint)
           
 
Method Summary
 String[] getAvailableFiles(boolean onlyGetTheFirstOne)
           
 InputStream retrieveFile(String fileName, SftpNotifier notifier)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SftpReceiverRequesterUtil

public SftpReceiverRequesterUtil(ImmutableEndpoint endpoint)
Method Detail

getAvailableFiles

public String[] getAvailableFiles(boolean onlyGetTheFirstOne)
                           throws Exception
Throws:
Exception

retrieveFile

public InputStream retrieveFile(String fileName,
                                SftpNotifier notifier)
                         throws Exception
Throws:
Exception


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.