Package com.adaptris.core.common
Class ByteArrayFromMetadata
- java.lang.Object
-
- com.adaptris.core.common.ByteArrayFromMetadataWrapper
-
- com.adaptris.core.common.ByteArrayFromMetadata
-
- All Implemented Interfaces:
MessageWrapper<byte[]>
@ComponentProfile(summary="Turn a metadata value into a byte array.", since="3.9.0") public class ByteArrayFromMetadata extends ByteArrayFromMetadataWrapperWraps a metadata value as a byte[]In the adapter configuration file this class is aliased as byte-array-from-metadata which is the preferred alternative to the fully qualified classname when building your configuration.
-
-
Constructor Summary
Constructors Constructor Description ByteArrayFromMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]wrap(InterlokMessage m)-
Methods inherited from class com.adaptris.core.common.ByteArrayFromMetadataWrapper
getKey, getTranslator, setKey, setTranslator, toByteArray, withKey, withTranslator
-
-
-
-
Method Detail
-
wrap
public byte[] wrap(InterlokMessage m) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-