org.ikasan.framework.payload.service
Class FileSystemInputStreamPayloadPublisher
java.lang.Object
org.ikasan.framework.payload.service.FileSystemInputStreamPayloadPublisher
- All Implemented Interfaces:
- PayloadPublisher
public class FileSystemInputStreamPayloadPublisher
- extends Object
- implements PayloadPublisher
PayloadPublisher that knows how to deliver an referenced
InputStream to the File System
- Author:
- Ikasan Development Team
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileSystemInputStreamPayloadPublisher
public FileSystemInputStreamPayloadPublisher(String outputDir,
PayloadInputStreamAcquirer payloadInputStreamProvider)
- Constructor
- Parameters:
outputDir - - directory path to which to write the filepayloadInputStreamProvider - - factory for the output content stream
publish
public void publish(Payload payload)
throws javax.resource.ResourceException
- Description copied from interface:
PayloadPublisher
- Publish the
Payload
- Specified by:
publish in interface PayloadPublisher
- Parameters:
payload - to publish
- Throws:
javax.resource.ResourceException - Exception if we cannot publish the payload
Copyright © 2007-2012 Ikasan. All Rights Reserved.