public class ModifiedIO extends Object
Constructor and Description |
---|
ModifiedIO() |
Modifier and Type | Method and Description |
---|---|
static long |
copy(InputStream in,
OutputStream out)
Copy Stream in to Stream out until EOF or exception.
|
static long |
copy(InputStream in,
OutputStream out,
long byteCount)
Copy Stream in to Stream for byteCount bytes or until EOF or exception.
|
static long |
copy(Reader in,
Writer out) |
static long |
copy(Reader in,
Writer out,
long byteCount)
Copy Reader to Writer for byteCount bytes or until EOF or exception.
|
public static long copy(InputStream in, OutputStream out) throws IOException
IOException
public static long copy(Reader in, Writer out) throws IOException
IOException
public static long copy(InputStream in, OutputStream out, long byteCount) throws IOException
IOException
public static long copy(Reader in, Writer out, long byteCount) throws IOException
IOException
Copyright © 2014. All rights reserved.