org.apache.geronimo.kernel.util
Class IOUtils
java.lang.Object
org.apache.geronimo.kernel.util.IOUtils
public class IOUtils
- extends Object
- Version:
- $Rev: 1391947 $ $Date: 2012-09-30 11:48:05 +0800 (Sun, 30 Sep 2012) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_COPY_BUFFER_SIZE
public static final int DEFAULT_COPY_BUFFER_SIZE
- See Also:
- Constant Field Values
IOUtils
public IOUtils()
copy
public static void copy(InputStream in,
OutputStream out)
throws IOException
- Throws:
IOException
copy
public static void copy(InputStream in,
OutputStream out,
int bufferSizeInBytes)
throws IOException
- Throws:
IOException
copy
public static void copy(InputStream in,
OutputStream out,
byte[] buffer)
throws IOException
- Throws:
IOException
close
public static void close(Closeable thing)
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)
Copyright © 2003-2013 The Apache Geronimo development community. All Rights Reserved.