Top Description Fields Constructors Methods
org.hibernate.engine.jdbc

public Class StreamUtils

extends Object
Class Inheritance
Imports
java.io.InputStream, .OutputStream, .IOException, .Reader, .Writer

Stream copying utilities
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static long
copy(InputStream inputStream, OutputStream outputStream)

public static long
copy(InputStream inputStream, OutputStream outputStream, int bufferSize)

public static long
copy(Reader reader, Writer writer)

public static long
copy(Reader reader, Writer writer, int bufferSize)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DEFAULT_CHUNK_SIZEback to summary
public static final int DEFAULT_CHUNK_SIZE

Constructor Detail

StreamUtilsback to summary
public StreamUtils()

Method Detail

copyback to summary
public static long copy(InputStream inputStream, OutputStream outputStream) throws IOException
copyback to summary
public static long copy(InputStream inputStream, OutputStream outputStream, int bufferSize) throws IOException
copyback to summary
public static long copy(Reader reader, Writer writer) throws IOException
copyback to summary
public static long copy(Reader reader, Writer writer, int bufferSize) throws IOException