com.starbase.util
Class StreamUtils

java.lang.Object
  |
  +--com.starbase.util.StreamUtils

public final class StreamUtils
extends java.lang.Object


Constructor Summary
StreamUtils()
           
 
Method Summary
static int bufferedTransfer(java.io.InputStream from, java.io.OutputStream to, int buffSize)
           
static int bufferedTransfer(java.io.InputStream from, java.io.OutputStream to, int buffSize, MD5 aMD5)
           
static int eatStream(java.io.InputStream from, int buffSize)
           
static int eatStream(java.io.InputStream from, int buffSize, MD5 aMD5)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamUtils

public StreamUtils()
Method Detail

bufferedTransfer

public static int bufferedTransfer(java.io.InputStream from,
                                   java.io.OutputStream to,
                                   int buffSize)
                            throws java.io.IOException
java.io.IOException

eatStream

public static int eatStream(java.io.InputStream from,
                            int buffSize)
                     throws java.io.IOException
java.io.IOException

eatStream

public static int eatStream(java.io.InputStream from,
                            int buffSize,
                            MD5 aMD5)
                     throws java.io.IOException
java.io.IOException

bufferedTransfer

public static int bufferedTransfer(java.io.InputStream from,
                                   java.io.OutputStream to,
                                   int buffSize,
                                   MD5 aMD5)
                            throws java.io.IOException
java.io.IOException


StarTeam SDK 10.4, Build 36
Copyright © 2003-2008 Borland Software Corporation. All rights reserved.