Class IOUtils
java.lang.Object
org.netpreserve.jwarc.IOUtils
This class is public only due to technical constraints. Please don't depend on it your own code.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopy(InputStream inputStream, OutputStream outputStream) static ReadableByteChannelgunzipChannel(ReadableByteChannel gzipped) static ReadableByteChannelinflateChannel(ReadableByteChannel deflated) static byte[]readNBytes(InputStream stream, int n)
-
Constructor Details
-
IOUtils
public IOUtils()
-
-
Method Details
-
copy
- Throws:
IOException
-
gunzipChannel
- Throws:
IOException
-
inflateChannel
- Throws:
IOException
-
readNBytes
- Throws:
IOException
-