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) |
InputStream |
getInputStream(ActiveMQBlobMessage message) |
createFTP, setUserInformation
public FTPBlobDownloadStrategy(BlobTransferPolicy transferPolicy) throws MalformedURLException
MalformedURLException
public InputStream getInputStream(ActiveMQBlobMessage message) throws IOException, javax.jms.JMSException
getInputStream
in interface BlobDownloadStrategy
IOException
javax.jms.JMSException
public void deleteFile(ActiveMQBlobMessage message) throws IOException, javax.jms.JMSException
deleteFile
in interface BlobDownloadStrategy
IOException
javax.jms.JMSException
Copyright © 2005–2018 The Apache Software Foundation. All rights reserved.