Class ZipIoUtil
java.lang.Object
org.apache.commons.compress.archivers.zip.ZipIoUtil
IO utilities for Zip operations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static void
writeFully
(SeekableByteChannel channel, ByteBuffer buf) Writes full buffer to channel.(package private) static void
writeFullyAt
(FileChannel channel, ByteBuffer buf, long position) Writes full buffer to channel at specified position.
-
Constructor Details
-
ZipIoUtil
private ZipIoUtil()
-
-
Method Details
-
writeFully
Writes full buffer to channel.- Parameters:
channel
- channel to write tobuf
- buffer to write- Throws:
IOException
- when writing fails or fails to write fully
-
writeFullyAt
Writes full buffer to channel at specified position.- Parameters:
channel
- channel to write tobuf
- buffer to writeposition
- position to write at- Throws:
IOException
- when writing fails or fails to write fully
-