public class StreamCopy extends Object
| Constructor and Description |
|---|
StreamCopy() |
| Modifier and Type | Method and Description |
|---|---|
static long |
copy(InputStream i,
OutputStream o) |
static long |
copy(InputStream i,
OutputStream o,
int bytes) |
static long |
copyLength(InputStream i,
OutputStream o,
long bytes) |
static long |
copyLength(InputStream i,
OutputStream o,
long bytes,
int readSize) |
static long |
readToEOF(InputStream i) |
static long |
readToEOF(InputStream i,
int bufferSize) |
static long |
readToEOFSingle(InputStream i) |
static long |
skipChars(PushBackOneByteInputStream i,
int[] skips) |
public static long copy(InputStream i, OutputStream o) throws IOException
IOExceptionpublic static long copy(InputStream i, OutputStream o, int bytes) throws IOException
IOExceptionpublic static long copyLength(InputStream i, OutputStream o, long bytes) throws IOException
IOExceptionpublic static long copyLength(InputStream i, OutputStream o, long bytes, int readSize) throws IOException
IOExceptionpublic static long readToEOF(InputStream i) throws IOException
IOExceptionpublic static long readToEOF(InputStream i, int bufferSize) throws IOException
IOExceptionpublic static long readToEOFSingle(InputStream i) throws IOException
IOExceptionpublic static long skipChars(PushBackOneByteInputStream i, int[] skips) throws IOException
IOExceptionCopyright © 2015 The International Internet Preservation Consortium. All Rights Reserved.