Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.codehaus.enunciate.modules.amf;
 
Defines a reader for AMF data.

Author(s):
Ryan Heaton
public interface AMFDataReader {

  
Whether an object of the specified type is readable from a stream.

Parameters:
realType The real type of the object.
genericType The declared generic type to which the object is to conform.
Returns:
Whether an object of the specified type is readable from a stream.
  boolean isReadable(Class realTypeType genericType);

  
Read the object from the specified stream.

Parameters:
realType The real type of the object.
genericType The generic type of the object.
stream The stream to read from.
Returns:
The object that was read.
  Object readFrom(Class realTypeType genericTypeInputStream streamthrows IOException;
New to GrepCode? Check out our FAQ X