org.apache.avalon.meta.info.writer
Class SerializedTypeWriter
java.lang.Object
org.apache.avalon.meta.info.writer.SerializedTypeWriter
- All Implemented Interfaces:
- TypeWriter
- public class SerializedTypeWriter
- extends Object
- implements TypeWriter
Write Type
objects to a stream as serialized objects.
- Version:
- $Revision: 1.1.1.1 $ $Date: 2003/09/24 08:15:49 $
- Author:
- Avalon Development Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializedTypeWriter
public SerializedTypeWriter()
writeType
public void writeType(Type type,
OutputStream stream)
throws Exception
- Write a
Type
to a stream
- Specified by:
writeType
in interface TypeWriter
- Parameters:
type
- the meta info Type instancestream
- the destination stream
- Throws:
Exception
- if an error occurs while writting to the stream
Copyright © Apache Software Foundation. All Rights Reserved.