org.browsermob.proxy.util
Class IOUtils

java.lang.Object
  extended by org.browsermob.proxy.util.IOUtils

public class IOUtils
extends Object


Nested Class Summary
static class IOUtils.Stats
           
 
Constructor Summary
IOUtils()
           
 
Method Summary
static void copy(InputStream in, OutputStream out)
           
static IOUtils.Stats copyWithStats(InputStream is, OutputStream os, BandwidthSimulator simulator, boolean copyOutputForReadingLater)
           
static String readFully(InputStream in)
           
static String readFully(InputStreamReader in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOUtils

public IOUtils()
Method Detail

copy

public static void copy(InputStream in,
                        OutputStream out)
                 throws IOException
Throws:
IOException

copyWithStats

public static IOUtils.Stats copyWithStats(InputStream is,
                                          OutputStream os,
                                          BandwidthSimulator simulator,
                                          boolean copyOutputForReadingLater)
                                   throws IOException
Throws:
IOException

readFully

public static String readFully(InputStream in)
                        throws IOException
Throws:
IOException

readFully

public static String readFully(InputStreamReader in)
                        throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.