IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.mobile
Class CopyUtils

java.lang.Object
  extended by com.ibm.btt.mobile.CopyUtils

public abstract class CopyUtils
extends java.lang.Object

The utility class used to copy the contents of the stream


Constructor Summary
CopyUtils()
           
 
Method Summary
static int copy(java.io.InputStream in, java.io.OutputStream out)
          Copy the contents of input stream content to output stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyUtils

public CopyUtils()
Method Detail

copy

public static int copy(java.io.InputStream in,
                       java.io.OutputStream out)
                throws java.io.IOException
Copy the contents of input stream content to output stream

Parameters:
in - the input stream
out - the output stream
Returns:
the number of bytes copied
Throws:
java.io.IOException - in case of I/O errors

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010