org.objectweb.dream.serializator
Interface DeSerializator

All Known Implementing Classes:
DeSerializatorImpl

public interface DeSerializator

A deserializator defines a method deserialize that takes a byte array as parameter and returns the corresponding message.


Field Summary
static String ITF_NAME
          The default name of the DeSerializatorinterface.
 
Method Summary
 Message deserialize(byte[] byteArray)
          Deserializes the given byte array and returns a message.
 

Field Detail

ITF_NAME

static final String ITF_NAME
The default name of the DeSerializatorinterface.

See Also:
Constant Field Values
Method Detail

deserialize

Message deserialize(byte[] byteArray)
                    throws IOException
Deserializes the given byte array and returns a message.

Parameters:
byteArray - the byte array to be deserialized.
Returns:
a message.
Throws:
IOException - if an exception occurs while serializing the message.


Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.