Reading ZIP/GZIP files from a FileChannel (NIO)
807589Sep 25 2008 — edited Sep 25 2008I need to read/unpack a zip file given a FileChannel as part of a multi-task process. I've played around with extracting ZIP archives using ZipInputStream (FileInputStream) and ZipFile (File),
but neither one of those will take a FileChannel. I don't have access to the original FileInputStream that the FileChannel was taken from.
If someone could tell me a good way (or at least ANY way) of reading ZIP from a FileChannel, I would greatly appreciate it.