org.apache.activemq.blob
public class FTPBlobDownloadStrategy extends FTPStrategy implements BlobDownloadStrategy
BlobDownloadStrategy
.ftpPass, ftpUser, transferPolicy, url
Constructor and Description |
---|
FTPBlobDownloadStrategy(BlobTransferPolicy transferPolicy) |
Modifier and Type | Method and Description |
---|---|
void |
deleteFile(ActiveMQBlobMessage message) |
java.io.InputStream |
getInputStream(ActiveMQBlobMessage message) |
createFTP, setUserInformation
public FTPBlobDownloadStrategy(BlobTransferPolicy transferPolicy) throws java.net.MalformedURLException
java.net.MalformedURLException
public java.io.InputStream getInputStream(ActiveMQBlobMessage message) throws java.io.IOException, javax.jms.JMSException
getInputStream
in interface BlobDownloadStrategy
java.io.IOException
javax.jms.JMSException
public void deleteFile(ActiveMQBlobMessage message) throws java.io.IOException, javax.jms.JMSException
deleteFile
in interface BlobDownloadStrategy
java.io.IOException
javax.jms.JMSException
Copyright © 2005-2014. All Rights Reserved.