com.arsdigita.util
Class IO

java.lang.Object
  extended bycom.arsdigita.util.IO

public class IO
extends Object

A library of methods for dealing with I/O streams.


Constructor Summary
IO()
           
 
Method Summary
static void copy(InputStream src, OutputStream dst)
          Copies the contents of an input stream to another output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IO

public IO()
Method Detail

copy

public static void copy(InputStream src,
                        OutputStream dst)
                 throws IOException
Copies the contents of an input stream to another output stream.

Parameters:
src - the source file to be sent
dst - the destination to send the file to
Throws:
IOException


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC