com.sssw.jbroker.web.encoding
Interface Deserializer
- All Superinterfaces:
- Deserializer, Serializable
- All Known Subinterfaces:
- Marshaler
- All Known Implementing Classes:
- BeanMarshaler, PublicFieldsMarshaler, ValueTypeMarshaler
- public interface Deserializer
- extends Deserializer
The Deserializer
interface is used by objects that are
capable of deserializing a Java Object from a portable input stream.
- Since:
- jBroker Web 2.0
deserialize
public Object deserialize(InputStream is,
Class javaType)
throws IOException
- Initialize the given object from the given input stream
- Parameters:
is
- the input stream to read object fromjavaType
- the expected Java type
- Returns:
- a newly created object initialized from stream
- Throws:
IOException
- if an I/O exception occurred duing read
exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2004 Novell, Inc. All Rights Reserved.