File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,14 +59,14 @@ ZipArchive archive = ZipIO.readJvm(path);
5959// These entries mirror data also declared in central directory entries.
6060List<LocalFileHeader > localFiles = archive. getLocalFiles();
6161for (LocalFileHeader localFile : localFiles) {
62- // Data model mirrors how a byte-buffer works.
63- ByteData data = localFile. getFileData();
64-
65- // You can extract the data to raw byte[]
66- byte [] decompressed = ZipCompressions . decompress(localFile);
67-
68- // Or do so with a specific decompressor implementation
69- byte [] decompressed = localFile. decompress(DeflateDecompressor . INSTANCE );
62+ // Data model mirrors how a byte-buffer works.
63+ ByteData data = localFile. getFileData();
64+
65+ // You can extract the data to raw byte[]
66+ byte [] decompressed = ZipCompressions . decompress(localFile);
67+
68+ // Or do so with a specific decompressor implementation
69+ byte [] decompressed = localFile. decompress(DeflateDecompressor . INSTANCE );
7070}
7171
7272// Typically used for authoritative definitions of properties.
You can’t perform that action at this time.
0 commit comments