public final class IOUtils extends Object
| Constructor and Description |
|---|
IOUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copy(InputStream inputStream,
OutputStream outputStream) |
static ReadableByteChannel |
gunzipChannel(ReadableByteChannel gzipped) |
static ReadableByteChannel |
inflateChannel(ReadableByteChannel deflated) |
static byte[] |
readNBytes(InputStream stream,
int n) |
public static void copy(InputStream inputStream, OutputStream outputStream) throws IOException
IOExceptionpublic static ReadableByteChannel gunzipChannel(ReadableByteChannel gzipped) throws IOException
IOExceptionpublic static ReadableByteChannel inflateChannel(ReadableByteChannel deflated) throws IOException
IOExceptionpublic static byte[] readNBytes(InputStream stream, int n) throws IOException
IOExceptionCopyright © 2023. All rights reserved.