org.apache.activemq.blob
Class FTPStrategy

java.lang.Object
  extended by org.apache.activemq.blob.FTPStrategy
Direct Known Subclasses:
FTPBlobDownloadStrategy, FTPBlobUploadStrategy

public class FTPStrategy
extends Object


Field Summary
protected  String ftpPass
           
protected  String ftpUser
           
protected  BlobTransferPolicy transferPolicy
           
protected  URL url
           
 
Constructor Summary
FTPStrategy(BlobTransferPolicy transferPolicy)
           
 
Method Summary
protected  org.apache.commons.net.ftp.FTPClient createFTP()
           
protected  void setUserInformation(String userInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transferPolicy

protected BlobTransferPolicy transferPolicy

url

protected URL url

ftpUser

protected String ftpUser

ftpPass

protected String ftpPass
Constructor Detail

FTPStrategy

public FTPStrategy(BlobTransferPolicy transferPolicy)
            throws MalformedURLException
Throws:
MalformedURLException
Method Detail

setUserInformation

protected void setUserInformation(String userInfo)

createFTP

protected org.apache.commons.net.ftp.FTPClient createFTP()
                                                  throws IOException,
                                                         JMSException
Throws:
IOException
JMSException


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.