Class FileBands
- java.lang.Object
-
- org.apache.commons.compress.harmony.pack200.BandSet
-
- org.apache.commons.compress.harmony.pack200.FileBands
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.commons.compress.harmony.pack200.BandSet
BandSet.BandAnalysisResults, BandSet.BandData
-
-
Field Summary
-
Fields inherited from class org.apache.commons.compress.harmony.pack200.BandSet
segmentHeader
-
-
Constructor Summary
Constructors Constructor Description FileBands(CpBands cpBands, SegmentHeader segmentHeader, PackingOptions options, org.apache.commons.compress.harmony.pack200.Archive.SegmentUnit segmentUnit, int effort)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfinaliseBands()All input classes for the segment have now been read in, so this method is called so that this class can calculate/complete anything it could not do while classes were being read.voidpack(java.io.OutputStream out)Write the packed set of bands to the given output stream-
Methods inherited from class org.apache.commons.compress.harmony.pack200.BandSet
cpEntryListToArray, cpEntryOrNullListToArray, encodeBandInt, encodeFlags, encodeFlags, encodeScalar, encodeScalar, integerListToArray, longListToArray
-
-
-
-
Constructor Detail
-
FileBands
public FileBands(CpBands cpBands, SegmentHeader segmentHeader, PackingOptions options, org.apache.commons.compress.harmony.pack200.Archive.SegmentUnit segmentUnit, int effort)
-
-
Method Detail
-
finaliseBands
public void finaliseBands()
All input classes for the segment have now been read in, so this method is called so that this class can calculate/complete anything it could not do while classes were being read.
-
pack
public void pack(java.io.OutputStream out) throws java.io.IOException, Pack200Exception
Description copied from class:BandSetWrite the packed set of bands to the given output stream- Specified by:
packin classBandSet- Parameters:
out- TODO- Throws:
java.io.IOException- If an I/O error occurs.Pack200Exception- TODO
-
-