Java org.apache.commons.compress.archivers.sevenz SevenZFile fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.compress.archivers.sevenz SevenZFile fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.compress.archivers.sevenz SevenZFile.

The text is from its open source code.

Subclass

org.apache.commons.compress.archivers.sevenz.SevenZFile has subclasses.
Click this link to see all its subclasses.

Constructor

SevenZFile(final SeekableByteChannel channel)
Reads a SeekableByteChannel as 7z archive

org.apache.commons.compress.utils.SeekableInMemoryByteChannel allows you to read from an in-memory archive.

SevenZFile(final File filename)
Reads a file as unencrypted 7z archive
SevenZFile(final File filename, final byte[] password)
Reads a file as 7z archive
SevenZFile(final SeekableByteChannel channel, final byte[] password)
Reads a SeekableByteChannel as 7z archive

org.apache.commons.compress.utils.SeekableInMemoryByteChannel allows you to read from an in-memory archive.

Method

voidclose()
Closes the archive.
IterablegetEntries()
Returns meta-data of all archive entries.
SevenZArchiveEntrygetNextEntry()
Returns the next Archive Entry in this archive.
booleanmatches(final byte[] signature, final int length)
Checks if the signature matches what is expected for a 7z file.
intread(final byte[] b, final int off, final int len)
Reads data into an array of bytes.
intread(final byte[] b)
Reads data into an array of bytes.
intread()
Reads a byte of data.