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, JMSException
getInputStream
in interface BlobDownloadStrategy
IOException
JMSException
public void deleteFile(ActiveMQBlobMessage message) throws IOException, JMSException
deleteFile
in interface BlobDownloadStrategy
IOException
JMSException
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.