Package com.adaptris.core.common
Class FileOutputMessageWrapper
- java.lang.Object
-
- com.adaptris.core.common.FileParameter
-
- com.adaptris.core.common.FileOutputMessageWrapper
-
- All Implemented Interfaces:
MessageWrapper<java.io.OutputStream>
@ComponentProfile(summary="MessageWrapper implementation that wraps as an OutputStream", since="3.9.0") public class FileOutputMessageWrapper extends FileParameter implements MessageWrapper<java.io.OutputStream>
MessageWrapper
implementation that wraps an external file as anOutputStream
.- Since:
- 3.9.0
In the adapter configuration file this class is aliased as file-output-message-wrapper which is the preferred alternative to the fully qualified classname when building your configuration.
-
-
Field Summary
-
Fields inherited from class com.adaptris.core.common.FileParameter
log
-
-
Constructor Summary
Constructors Constructor Description FileOutputMessageWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.OutputStream
wrap(InterlokMessage m)
-
Methods inherited from class com.adaptris.core.common.FileParameter
getUrl, setUrl, url, withUrl
-
-
-
-
Method Detail
-
wrap
public java.io.OutputStream wrap(InterlokMessage m) throws java.lang.Exception
- Specified by:
wrap
in interfaceMessageWrapper<java.io.OutputStream>
- Throws:
java.lang.Exception
-
-