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
IOException
public String getContentType()
getContentType
in interface DataSource
public InputStream getInputStream() throws IOException
getInputStream
in interface DataSource
IOException
public String getName()
getName
in interface DataSource
public OutputStream getOutputStream() throws IOException
getOutputStream
in interface DataSource
IOException
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.