List<TagLinkedBlock> getLinkedDataBlocks() throws IOException { if (linkedDataBlocks == null) { linkedDataBlocks = new ArrayList<>(); if (debugLinked) System.out.println(" TagData readLinkTags " + detail()); short next = link_ref; // (short) (link_ref & 0x3FFF); while (next != 0) { TagLinkedBlock tag = (TagLinkedBlock) tagMap.get(tagid(next, TagEnum.LINKED.getCode())); if (tag == null) throw new IllegalStateException("TagLinkedBlock not found for " + detail()); tag.used = true; tag.read2(num_blk, linkedDataBlocks); next = tag.next_ref; // (short) (tag.next_ref & 0x3FFF); } } return linkedDataBlocks; }
List<TagLinkedBlock> getLinkedDataBlocks() throws IOException { if (linkedDataBlocks == null) { linkedDataBlocks = new ArrayList<TagLinkedBlock>(); if (debugLinked) System.out.println(" TagData readLinkTags " + detail()); short next = link_ref; // (short) (link_ref & 0x3FFF); while (next != 0) { TagLinkedBlock tag = (TagLinkedBlock) tagMap.get(tagid(next, TagEnum.LINKED.getCode())); if (tag == null) throw new IllegalStateException("TagLinkedBlock not found for " + detail()); tag.used = true; tag.read2(num_blk, linkedDataBlocks); next = tag.next_ref; // (short) (tag.next_ref & 0x3FFF); } } return linkedDataBlocks; }
List<TagLinkedBlock> getLinkedDataBlocks() throws IOException { if (linkedDataBlocks == null) { linkedDataBlocks = new ArrayList<TagLinkedBlock>(); if (debugLinked) System.out.println(" TagData readLinkTags " + detail()); short next = link_ref; // (short) (link_ref & 0x3FFF); while (next != 0) { TagLinkedBlock tag = (TagLinkedBlock) tagMap.get(tagid(next, TagEnum.LINKED.getCode())); if (tag == null) throw new IllegalStateException("TagLinkedBlock not found for " + detail()); tag.used = true; tag.read2(num_blk, linkedDataBlocks); next = tag.next_ref; // (short) (tag.next_ref & 0x3FFF); } } return linkedDataBlocks; }
public String detail() { if (linked != null) return super.detail() + " ext_tag= " + ext_type + " tag_len= " + tag_len + " " + linked.detail(); else if (compress != null) return super.detail() + " ext_tag= " + ext_type + " tag_len= " + tag_len + " " + compress.detail(); else if (chunked != null) return super.detail() + " ext_tag= " + ext_type + " tag_len= " + tag_len + " " + chunked.detail(); else return super.detail(); }
public String detail() { if (linked != null) return super.detail() + " ext_tag= " + ext_type + " tag_len= " + tag_len + " " + linked.detail(); else if (compress != null) return super.detail() + " ext_tag= " + ext_type + " tag_len= " + tag_len + " " + compress.detail(); else if (chunked != null) return super.detail() + " ext_tag= " + ext_type + " tag_len= " + tag_len + " " + chunked.detail(); else return super.detail(); }
public String detail() { if (linked != null) return super.detail() + " ext_tag= " + ext_type + " tag_len= " + tag_len + " " + linked.detail(); else if (compress != null) return super.detail() + " ext_tag= " + ext_type + " tag_len= " + tag_len + " " + compress.detail(); else if (chunked != null) return super.detail() + " ext_tag= " + ext_type + " tag_len= " + tag_len + " " + chunked.detail(); else return super.detail(); }