org.apache.avalon.meta.info.builder
Class SerializedTypeCreator
java.lang.Object
org.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.3 $ $Date: 2003/07/15 21:26:35 $
- Author:
- Avalon Development Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializedTypeCreator
public SerializedTypeCreator()
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-usedinputStream
- 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.