org.red5.io.object
Class Deserializer

java.lang.Object
  extended by org.red5.io.object.Deserializer

public class Deserializer
extends Object

The Deserializer class reads data input and handles the data according to the core data types

Author:
The Red5 Project (red5@osflash.org), Luke Hubbard, Codegent Ltd (luke@codegent.com)

Field Summary
protected static org.slf4j.Logger log
           
 
Constructor Summary
Deserializer()
           
 
Method Summary
<T> T
deserialize(Input in, Class<T> target)
          Deserializes the input parameter and returns an Object which must then be cast to a core data type
protected  Object postProcessExtension(Object result, Class target)
          Post processes the result TODO Extension Point
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.slf4j.Logger log
Constructor Detail

Deserializer

public Deserializer()
Method Detail

deserialize

public <T> T deserialize(Input in,
                         Class<T> target)
Deserializes the input parameter and returns an Object which must then be cast to a core data type

Parameters:
in -
target -
Returns:
Object

postProcessExtension

protected Object postProcessExtension(Object result,
                                      Class target)
Post processes the result TODO Extension Point

Parameters:
result -
target -
Returns:


Copyright © 2006-2007 the Red5 project.