public class StreamUtils extends 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(InputStream inputStream,
OutputStream outputStream) |
static long |
copy(InputStream inputStream,
OutputStream outputStream,
int bufferSize) |
static long |
copy(Reader reader,
Writer writer) |
static long |
copy(Reader reader,
Writer writer,
int bufferSize) |
public static final int DEFAULT_CHUNK_SIZE
public static long copy(InputStream inputStream, OutputStream outputStream) throws IOException
IOException
public static long copy(InputStream inputStream, OutputStream outputStream, int bufferSize) throws IOException
IOException
public static long copy(Reader reader, Writer writer) throws IOException
IOException
public static long copy(Reader reader, Writer writer, int bufferSize) throws IOException
IOException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.