org.apache.geronimo.messaging.io
Class GInputStream
java.lang.Object
java.io.InputStream
org.apache.geronimo.messaging.io.GInputStream
- All Implemented Interfaces:
- Externalizable, Serializable
- public class GInputStream
- extends InputStream
- implements Externalizable
An Externalizable InputStream Wrapper.
The serialization MUST be performed by a StreamOutputStream, which knows
how to encode a stream into an OutputStream.
- Version:
- $Revision: 1.1 $ $Date: 2004/05/11 12:06:41 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GInputStream
public GInputStream()
- Requires for Externalization. Do not use.
GInputStream
public GInputStream(InputStream anIn)
- Wraps the specified InputStream.
- Parameters:
anIn
- InputStream to be wrapped.
getRawInputStream
public InputStream getRawInputStream()
- Gets the wrapped InputStream
- Returns:
- Wrapped InputStream.
read
public int read()
throws IOException
- Throws:
IOException
writeExternal
public void writeExternal(ObjectOutput anOut)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput anIn)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.