org.apache.geronimo.kernel.classloader
Class IoUtil

java.lang.Object
  extended by org.apache.geronimo.kernel.classloader.IoUtil

public final class IoUtil
extends Object


Nested Class Summary
static class IoUtil.EmptyInputStream
           
 
Method Summary
static void close(InputStream thing)
           
static void close(JarFile thing)
           
static void close(OutputStream thing)
           
static void close(Reader thing)
           
static void close(Writer thing)
           
static void flush(OutputStream thing)
           
static void flush(Writer thing)
           
static byte[] getBytes(InputStream inputStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBytes

public static byte[] getBytes(InputStream inputStream)
                       throws IOException
Throws:
IOException

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)


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.