org.loom.util
Class FileUtils

java.lang.Object
  extended by org.loom.util.FileUtils

public class FileUtils
extends java.lang.Object


Constructor Summary
FileUtils()
           
 
Method Summary
static void copy(java.io.InputStream input, java.io.OutputStream output)
          Copy one stream into another, using NIO if possible.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtils

public FileUtils()
Method Detail

copy

public static void copy(java.io.InputStream input,
                        java.io.OutputStream output)
                 throws java.io.IOException
Copy one stream into another, using NIO if possible. Does not close any of the two.

Parameters:
input -
output -
Throws:
java.io.IOException