org.hibernate.engine.jdbc
Class StreamUtils
java.lang.Object
org.hibernate.engine.jdbc.StreamUtils
public class StreamUtils
- extends java.lang.Object
Stream copying utilities
- Author:
- Steve Ebersole
Method Summary |
static long |
copy(java.io.InputStream inputStream,
java.io.OutputStream outputStream)
|
static long |
copy(java.io.InputStream inputStream,
java.io.OutputStream outputStream,
int bufferSize)
|
static long |
copy(java.io.Reader reader,
java.io.Writer writer)
|
static long |
copy(java.io.Reader reader,
java.io.Writer writer,
int bufferSize)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CHUNK_SIZE
public static final int DEFAULT_CHUNK_SIZE
- See Also:
- Constant Field Values
StreamUtils
public StreamUtils()
copy
public static long copy(java.io.InputStream inputStream,
java.io.OutputStream outputStream)
throws java.io.IOException
- Throws:
java.io.IOException
copy
public static long copy(java.io.InputStream inputStream,
java.io.OutputStream outputStream,
int bufferSize)
throws java.io.IOException
- Throws:
java.io.IOException
copy
public static long copy(java.io.Reader reader,
java.io.Writer writer)
throws java.io.IOException
- Throws:
java.io.IOException
copy
public static long copy(java.io.Reader reader,
java.io.Writer writer,
int bufferSize)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2010. All Rights Reserved.