public class StreamUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_CHUNK_SIZE |
Constructor and Description |
---|
StreamUtils() |
Modifier and Type | Method and Description |
---|---|
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) |
public static final int DEFAULT_CHUNK_SIZE
public static long copy(java.io.InputStream inputStream, java.io.OutputStream outputStream) throws java.io.IOException
java.io.IOException
public static long copy(java.io.InputStream inputStream, java.io.OutputStream outputStream, int bufferSize) throws java.io.IOException
java.io.IOException
public static long copy(java.io.Reader reader, java.io.Writer writer) throws java.io.IOException
java.io.IOException
public static long copy(java.io.Reader reader, java.io.Writer writer, int bufferSize) throws java.io.IOException
java.io.IOException
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.