public class SynapseBinaryDataSource
extends java.lang.Object
implements javax.activation.DataSource
DataSource
Constructor and Description |
---|
SynapseBinaryDataSource(java.io.InputStream inputstream,
java.lang.String contentType)
Constructs the HessianDataSource from the given InputStream.
|
SynapseBinaryDataSource(java.io.InputStream inputstream,
java.lang.String contentType,
SynapseEnvironment synEnv) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentType() |
java.io.InputStream |
getInputStream() |
java.lang.String |
getName() |
java.io.OutputStream |
getOutputStream() |
public SynapseBinaryDataSource(java.io.InputStream inputstream, java.lang.String contentType) throws java.io.IOException
inputstream
- contains the Hessian message for later retrievalcontentType
- message content typejava.io.IOException
- failure in reading from the InputStreampublic SynapseBinaryDataSource(java.io.InputStream inputstream, java.lang.String contentType, SynapseEnvironment synEnv) throws java.io.IOException
java.io.IOException
public java.lang.String getContentType()
getContentType
in interface javax.activation.DataSource
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in interface javax.activation.DataSource
java.io.IOException
public java.lang.String getName()
getName
in interface javax.activation.DataSource
public java.io.OutputStream getOutputStream() throws java.io.IOException
getOutputStream
in interface javax.activation.DataSource
java.io.IOException
Copyright © 2005-2021 Apache Software Foundation. All Rights Reserved.