Searched refs:headerId (Results 1 – 3 of 3) sorted by relevance
123 public Segment getSingleSegment(int headerId) throws IOException { in getSingleSegment() argument126 .filter(s -> s.getHeaderId() == headerId) in getSingleSegment()133 throw new IOException(found.size() + " segments with header ID " + headerId + "found"); in getSingleSegment()150 int headerId = LittleEndianUtils.readUnsigned2Le(buffer); in parseSegments() local155 + headerId in parseSegments()164 + headerId in parseSegments()173 SegmentFactory factory = identifySegmentFactory(headerId); in parseSegments()174 Segment seg = factory.make(headerId, data); in parseSegments()225 private static SegmentFactory identifySegmentFactory(int headerId) { in identifySegmentFactory() argument226 if (headerId == ALIGNMENT_ZIP_EXTRA_DATA_FIELD_HEADER_ID) { in identifySegmentFactory()[all …]
256 int headerId = ByteArrayUtil.getInt(data, currPos, 2); in CentralDirectoryInfo() local258 if (headerId == ZIP64_EXTRA_FIELD_HEADER_ID) { in CentralDirectoryInfo()
816 short headerId = extra.getShort(); in getInputJarEntryDataAlignmentMultiple() local822 if (headerId != ALIGNMENT_ZIP_EXTRA_DATA_FIELD_HEADER_ID) { in getInputJarEntryDataAlignmentMultiple()860 short headerId = original.getShort(); in createExtraFieldToAlignData() local866 if (((headerId == 0) && (dataSize == 0)) in createExtraFieldToAlignData()867 || (headerId == ALIGNMENT_ZIP_EXTRA_DATA_FIELD_HEADER_ID)) { in createExtraFieldToAlignData()