org.apache.geronimo.kernel.config
Class IOUtil
java.lang.Object
org.apache.geronimo.kernel.config.IOUtil
public class IOUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IOUtil
public IOUtil()
recursiveCopy
public static void recursiveCopy(File srcDir,
File destDir)
throws IOException
- Throws:
IOException
copyFile
public static void copyFile(File source,
File destination)
throws IOException
- Throws:
IOException
writeAll
public static void writeAll(InputStream in,
OutputStream out)
throws IOException
- Throws:
IOException
recursiveDelete
public static boolean recursiveDelete(File root)
flush
public static void flush(OutputStream thing)
flush
public static void flush(Writer thing)
close
public static void close(JarFile thing)
close
public static void close(InputStream thing)
close
public static void close(OutputStream thing)
close
public static void close(Reader thing)
close
public static void close(Writer thing)
search
public static Set search(File root,
String pattern)
throws MalformedURLException
- Throws:
MalformedURLException
listAllFileNames
public static Map listAllFileNames(File base)
Copyright © 2006 Apache Software Foundation. All Rights Reserved.