public class MetadataStreamInputParameter extends MetadataStreamParameter implements DataInputParameter<java.io.InputStream>
DataInputParameter
is used when you want to read some data from metadata.In the adapter configuration file this class is aliased as metadata-stream-input-parameter which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
MetadataStreamInputParameter() |
MetadataStreamInputParameter(java.lang.String key) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
extract(InterlokMessage m) |
charset, getContentEncoding, getMetadataKey, setContentEncoding, setMetadataKey, toInputStream, withContentEncoding, withMetadataKey
public MetadataStreamInputParameter()
public MetadataStreamInputParameter(java.lang.String key)
public java.io.InputStream extract(InterlokMessage m) throws InterlokException
extract
in interface DataInputParameter<java.io.InputStream>
InterlokException