private String getMessageToBroadcast(JitterPack jp) {
if (jp == null) {
return " ";
}
StringBuilder sb = new StringBuilder("Size: ");
sb.append(new FileSizeColumn(jp.getFile(), StorageSizeUnit.Kilobytes));
String comment = jp.getDescriptor().getComment();
if (comment != null && comment.length() > 0) {
sb.append("; Comment: ").append(comment);
}
return sb.toString();