log.setText(sb.toString());
}
private String toString(PropertyState ps, int index, String tarFile) {
if (ps.getType().tag() == PropertyType.BINARY) {
Blob b = ps.getValue(Type.BINARY, index);
String info = "<";
info += b.getClass().getSimpleName() + ";";
info += "ref:" + b.getReference() + ";";
info += "id:" + b.getContentIdentity() + ";";
info += FileUtils.byteCountToDisplaySize(b.length()) + ">";
for (SegmentId sid : SegmentBlob.getBulkSegmentIds(b)) {
info += newline + " Bulk Segment Id " + sid;
String f = getFile(sid);
if (!f.equals(tarFile)) {
info += " in " + f;