net.sf.yavtags.util
Class Streams

java.lang.Object
  extended by net.sf.yavtags.util.Streams

public class Streams
extends java.lang.Object

Implementation of commmons-fileupload Streams.copy method to avoid library dependence.


Constructor Summary
Streams()
           
 
Method Summary
static void copy(java.io.InputStream pIn, java.io.OutputStream pOut, boolean pClose)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Streams

public Streams()
Method Detail

copy

public static void copy(java.io.InputStream pIn,
                        java.io.OutputStream pOut,
                        boolean pClose)
                 throws java.io.IOException
Throws:
java.io.IOException