org.apache.avalon.meta.info.builder
Class SerializedTypeCreator

java.lang.Object
  extended byorg.apache.avalon.meta.info.builder.SerializedTypeCreator
All Implemented Interfaces:
TypeCreator

public class SerializedTypeCreator
extends Object
implements TypeCreator

Create Type from stream made up of serialized object.

Version:
$Revision: 1.1.1.1 $ $Date: 2003/09/24 08:15:24 $
Author:
Avalon Development Team

Constructor Summary
SerializedTypeCreator()
           
 
Method Summary
 Type createType(String key, InputStream inputStream)
          Create of a type instance from a serialized form.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializedTypeCreator

public SerializedTypeCreator()
Method Detail

createType

public Type createType(String key,
                       InputStream inputStream)
                throws Exception
Create of a type instance from a serialized form.

Specified by:
createType in interface TypeCreator
Parameters:
key - not-used
inputStream - the input stream
Returns:
the meta-info instance that describes the component type
Throws:
Exception - if an error occurs


Copyright © Apache Software Foundation. All Rights Reserved.