de.jdemo.util
Class IOUtilities

java.lang.Object
  extended by de.jdemo.util.IOUtilities

public class IOUtilities
extends java.lang.Object

Author:
Markus Gebhard

Method Summary
static void close(java.io.Closeable closeable)
           
static void copy(java.io.File sourceFile, java.io.File destinationFile)
           
static void copyStream(java.io.InputStream in, java.io.OutputStream out)
           
static boolean ensureFoldersExist(java.io.File folder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

close

public static void close(java.io.Closeable closeable)

copy

public static void copy(java.io.File sourceFile,
                        java.io.File destinationFile)
                 throws java.io.IOException
Throws:
java.io.IOException

ensureFoldersExist

public static boolean ensureFoldersExist(java.io.File folder)

copyStream

public static void copyStream(java.io.InputStream in,
                              java.io.OutputStream out)
                       throws java.io.IOException
Throws:
java.io.IOException


JDemo homepage: http://www.jdemo.de
Copyright © 2003-2008 Markus Gebhard. All Rights Reserved.