ChmItsfHeader implements ChmAccessor<ChmItsfHeader> { public String toString() { StringBuilder sb = new StringBuilder(); sb.append(new String(getSignature(), UTF_8) + " "); sb.append(getVersion() + " "); sb.append(getHeaderLen() + " "); sb.append(getUnknown_000c() + " "); sb.append(getLastModified() + " "); sb.append(getLangId() + " "); sb.append(getDir_uuid() + " "); sb.append(getStream_uuid() + " "); sb.append(getUnknownOffset() + " "); sb.append(getUnknownLen() + " "); sb.append(getDirOffset() + " "); sb.append(getDirLen() + " "); sb.append(getDataOffset() + " "); return sb.toString(); } ChmItsfHeader(); String toString(); byte[] getSignature(); int getVersion(); int getHeaderLen(); int getUnknown_000c(); long getLastModified(); long getLangId(); byte[] getDir_uuid(); byte[] getStream_uuid(); long getUnknownOffset(); long getUnknownLen(); long getDirOffset(); long getDirLen(); long getDataOffset(); static void main(String[] args); void parse(byte[] data, ChmItsfHeader chmItsfHeader);  }
@Test public void testToString() { assertTrue(chmItsfHeader.toString().contains( TestParameters.VP_ISTF_SIGNATURE)); }