public class

StreamUtils

extends Object
java.lang.Object
   ↳ org.hibernate.engine.jdbc.StreamUtils

Class Overview

Stream copying utilities

Summary

Constants
int DEFAULT_CHUNK_SIZE
Public Constructors
StreamUtils()
Public Methods
static long copy(InputStream inputStream, OutputStream outputStream, int bufferSize)
static long copy(Reader reader, Writer writer)
static long copy(InputStream inputStream, OutputStream outputStream)
static long copy(Reader reader, Writer writer, int bufferSize)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int DEFAULT_CHUNK_SIZE

Constant Value: 1024 (0x00000400)

Public Constructors

public StreamUtils ()

Public Methods

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

Throws
IOException

public static long copy (Reader reader, Writer writer)

Throws
IOException

public static long copy (InputStream inputStream, OutputStream outputStream)

Throws
IOException

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

Throws
IOException