public class DefaultDeserializer extends Object implements Deserializer<Object>
Constructor and Description |
---|
DefaultDeserializer() |
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(InputStream inputStream)
Reads the input stream and deserializes into an object.
|
public Object deserialize(InputStream inputStream) throws IOException
deserialize
in interface Deserializer<Object>
inputStream
- the input streamIOException
- in case of errors reading from the stream