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 ByteArrayFromMetadataWrapper
Wraps 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 -
Method Summary
Methods inherited from class com.adaptris.core.common.ByteArrayFromMetadataWrapper
getKey, getTranslator, setKey, setTranslator, toByteArray, withKey, withTranslator
-
Constructor Details
-
ByteArrayFromMetadata
public ByteArrayFromMetadata()
-
-
Method Details
-
wrap
- Throws:
Exception
-