public class SegmentHeader extends Object
Segment
Constructor and Description |
---|
SegmentHeader(Segment segment) |
Modifier and Type | Method and Description |
---|---|
long |
getArchiveModtime() |
long |
getArchiveSize() |
int |
getArchiveSizeOffset() |
int |
getAttributeDefinitionCount() |
InputStream |
getBandHeadersInputStream()
Obtain the band headers data as an input stream.
|
int |
getBandHeadersSize() |
int |
getClassCount() |
int |
getCpClassCount() |
int |
getCpDescriptorCount() |
int |
getCpDoubleCount() |
int |
getCpFieldCount() |
int |
getCpFloatCount() |
int |
getCpIMethodCount() |
int |
getCpIntCount() |
int |
getCpLongCount() |
int |
getCpMethodCount() |
int |
getCpSignatureCount() |
int |
getCpStringCount() |
int |
getCpUTF8Count() |
int |
getDefaultClassMajorVersion() |
int |
getDefaultClassMinorVersion() |
int |
getInnerClassCount() |
int |
getNumberOfFiles() |
SegmentOptions |
getOptions() |
int |
getSegmentsRemaining() |
void |
read(InputStream in) |
void |
setArchiveModtime(long archiveModtime) |
void |
setArchiveSize(long archiveSize) |
void |
setSegmentsRemaining(long value) |
void |
unpack() |
public SegmentHeader(Segment segment)
public long getArchiveModtime()
public long getArchiveSize()
public int getArchiveSizeOffset()
public int getAttributeDefinitionCount()
public InputStream getBandHeadersInputStream()
public int getBandHeadersSize()
public int getClassCount()
public int getCpClassCount()
public int getCpDescriptorCount()
public int getCpDoubleCount()
public int getCpFieldCount()
public int getCpFloatCount()
public int getCpIMethodCount()
public int getCpIntCount()
public int getCpLongCount()
public int getCpMethodCount()
public int getCpSignatureCount()
public int getCpStringCount()
public int getCpUTF8Count()
public int getDefaultClassMajorVersion()
public int getDefaultClassMinorVersion()
public int getInnerClassCount()
public int getNumberOfFiles()
public SegmentOptions getOptions()
public int getSegmentsRemaining()
public void read(InputStream in) throws IOException, Error, Pack200Exception
IOException
Error
Pack200Exception
public void setArchiveModtime(long archiveModtime)
public void setArchiveSize(long archiveSize)
public void setSegmentsRemaining(long value)
public void unpack()
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.