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