View. Do you mean without extracting the external 7z? Yes. without extracting internal 7z? No.
It seems that Apache Commons SevenZ only works with file objects, so you need to at least extract the internal 7z file, then decode it.
entry
, , . (temp), SevenZFile
.
Apache Common Compress Examples:
SevenZFile sevenZFile =...
SevenZArchiveEntry entry...
...found our entry we want...
byte[] content = new byte[entry.getSize()];
LOOP UNTIL entry.getSize() HAS BEEN READ {
sevenZFile.read(content, offset, content.length - offset);
}
, , byte[]
, , SeventZFile.
, [] temp, - .