org.apache.activemq.blob
Class FTPBlobDownloadStrategy

java.lang.Object
  extended by org.apache.activemq.blob.FTPStrategy
      extended by org.apache.activemq.blob.FTPBlobDownloadStrategy
All Implemented Interfaces:
BlobDownloadStrategy

public class FTPBlobDownloadStrategy
extends FTPStrategy
implements BlobDownloadStrategy

A FTP implementation for BlobDownloadStrategy.


Field Summary
 
Fields inherited from class org.apache.activemq.blob.FTPStrategy
ftpPass, ftpUser, transferPolicy, url
 
Constructor Summary
FTPBlobDownloadStrategy(BlobTransferPolicy transferPolicy)
           
 
Method Summary
 void deleteFile(ActiveMQBlobMessage message)
           
 InputStream getInputStream(ActiveMQBlobMessage message)
           
 
Methods inherited from class org.apache.activemq.blob.FTPStrategy
createFTP, setUserInformation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FTPBlobDownloadStrategy

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

getInputStream

public InputStream getInputStream(ActiveMQBlobMessage message)
                           throws IOException,
                                  JMSException
Specified by:
getInputStream in interface BlobDownloadStrategy
Throws:
IOException
JMSException

deleteFile

public void deleteFile(ActiveMQBlobMessage message)
                throws IOException,
                       JMSException
Specified by:
deleteFile in interface BlobDownloadStrategy
Throws:
IOException
JMSException


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