org.openorb.orb.io
Class StreamHelper

java.lang.Object
  |
  +--org.openorb.orb.io.StreamHelper

public final class StreamHelper
extends java.lang.Object

Utility class for copying the contents of an input stream to an output stream, given a typecode for the contained data.

Version:
$Revision: 1.11 $ $Date: 2004/02/19 07:21:31 $
Author:
Chris Wood

Method Summary
static void copy_stream(org.omg.CORBA.TypeCode type, org.omg.CORBA_2_3.portable.InputStream is, org.omg.CORBA_2_3.portable.OutputStream os)
          Copy input stream to output stream, according to the typecode passed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

copy_stream

public static void copy_stream(org.omg.CORBA.TypeCode type,
                               org.omg.CORBA_2_3.portable.InputStream is,
                               org.omg.CORBA_2_3.portable.OutputStream os)
Copy input stream to output stream, according to the typecode passed.
Parameters:
type - the typecode of the data to be copied.
is - the input stream source of the data.
os - the destination for the copy.