@Override public String toString() { return new StringBuffer() .append("horizontal=") .append(horizontal.toString()) .append("vertical=") .append(vertical.toString()) .toString(); }
public String toString() { StringBuffer sb = new StringBuffer() .append("; 'BASE' Table - Baseline\n;-------------------------------------\n\n") .append("BASEHeader BASEHeaderT") .append(Integer.toHexString(0)) .append("\n") .append(Integer.toHexString(_version)) .append("\nAxisT") .append(Integer.toHexString(_horizAxisOffset)) .append("\nAxisT") .append(Integer.toHexString(_vertAxisOffset)); if (_horizAxis != null) { sb.append("\n").append(_horizAxis.toString()); } if (_vertAxis != null) { sb.append("\n").append(_vertAxis.toString()); } return sb.toString(); }