public class CopyUtil extends Object
Constructor and Description |
---|
CopyUtil() |
Modifier and Type | Method and Description |
---|---|
static int |
copy(InputStream in,
OutputStream out) |
static void |
copy(InputStream in,
Writer writer) |
static void |
copy(Reader reader,
OutputStream out) |
static int |
copy(Reader reader,
Writer writer) |
static void |
copy(String str,
OutputStream out) |
static void |
copy(String str,
Writer writer) |
public static int copy(InputStream in, OutputStream out) throws IOException
IOException
public static int copy(Reader reader, Writer writer) throws IOException
IOException
public static void copy(Reader reader, OutputStream out) throws IOException
IOException
public static void copy(InputStream in, Writer writer) throws IOException
IOException
public static void copy(String str, Writer writer) throws IOException
IOException
public static void copy(String str, OutputStream out) throws IOException
IOException
Copyright © 2011-2015 IBM. All Rights Reserved.