org.hibernate.engine.jdbc
Class StreamUtils
java.lang.Object
org.hibernate.engine.jdbc.StreamUtils
public class StreamUtils
- extends Object
Stream copying utilities
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(InputStream inputStream,
OutputStream outputStream)
throws IOException
- Throws:
IOException
copy
public static long copy(InputStream inputStream,
OutputStream outputStream,
int bufferSize)
throws IOException
- Throws:
IOException
copy
public static long copy(Reader reader,
Writer writer)
throws IOException
- Throws:
IOException
copy
public static long copy(Reader reader,
Writer writer,
int bufferSize)
throws IOException
- Throws:
IOException
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.