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)
           
 java.io.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 java.net.MalformedURLException
Throws:
java.net.MalformedURLException
Method Detail

getInputStream

public java.io.InputStream getInputStream(ActiveMQBlobMessage message)
                                   throws java.io.IOException,
                                          javax.jms.JMSException
Specified by:
getInputStream in interface BlobDownloadStrategy
Throws:
java.io.IOException
javax.jms.JMSException

deleteFile

public void deleteFile(ActiveMQBlobMessage message)
                throws java.io.IOException,
                       javax.jms.JMSException
Specified by:
deleteFile in interface BlobDownloadStrategy
Throws:
java.io.IOException
javax.jms.JMSException


Copyright © 2005-2011 FuseSource, Corp.. All Rights Reserved.