Class Folder
java.lang.Object
org.apache.commons.compress.archivers.sevenz.Folder
The unit of solid compression.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) int
findBindPairForInStream
(int index) (package private) int
findBindPairForOutStream
(int index) Sorts Coders using bind pairs.(package private) long
(package private) long
getUnpackSizeForCoder
(Coder coder) toString()
-
Field Details
-
coders
Coder[] coders -
totalInputStreams
long totalInputStreams -
totalOutputStreams
long totalOutputStreams -
bindPairs
BindPair[] bindPairs -
packedStreams
long[] packedStreams -
unpackSizes
long[] unpackSizes -
hasCrc
boolean hasCrc -
crc
long crc -
numUnpackSubStreams
int numUnpackSubStreams -
EMPTY_FOLDER_ARRAY
-
-
Constructor Details
-
Folder
Folder()
-
-
Method Details
-
getOrderedCoders
Sorts Coders using bind pairs.The first coder reads from the packed stream (we currently only support single input stream decoders), the second reads from the output of the first and so on.
- Throws:
IOException
-
findBindPairForInStream
int findBindPairForInStream(int index) -
findBindPairForOutStream
int findBindPairForOutStream(int index) -
getUnpackSize
long getUnpackSize() -
getUnpackSizeForCoder
-
toString
-