info.sswap.ontologies.data.api
Interface Serializer


public interface Serializer

Interface to web resources that serialize data.

Author:
Damian Gessler

Method Summary
 java.io.InputStream serialize(java.io.InputStream inputStream)
          Method acts as a filter: it is passed an input stream and should return a input stream of serialized data suitable for immediate reading.
 

Method Detail

serialize

java.io.InputStream serialize(java.io.InputStream inputStream)
                              throws java.io.IOException,
                                     SerializerException
Method acts as a filter: it is passed an input stream and should return a input stream of serialized data suitable for immediate reading.

Parameters:
inputStream - raw (un-serialized) stream to be read
Returns:
serialized stream ready for reading (e.g., for consequent writing to an output stream)
Throws:
java.io.IOException - on any network error
SerializerException - on any Serializer-specific error


Copyright (c) 2011, iPlant Collaborative, University of Arizona, Cold Spring Harbor Laboratories, University of Texas at Austin.