(Object[] array, String suffix)
| 66 | } |
| 67 | |
| 68 | protected String formatObjectArray(Object[] array, String suffix) { |
| 69 | StringBuilder sb = new StringBuilder('['); |
| 70 | int n = array.length; |
| 71 | for (int i = 0; i < n; i++) |
| 72 | { |
| 73 | if (array[i] instanceof Float) |
| 74 | sb.append(((Float) array[i]).toString() + " "); |
| 75 | else if (array[i] instanceof String) |
| 76 | sb.append(formatString((String) array[i], " ")); |
| 77 | else |
| 78 | sb.append(formatByteArray((byte[]) array[i], " ")); |
| 79 | } |
| 80 | sb.append("]"); |
| 81 | if (suffix != null) |
| 82 | sb.append(suffix); |
| 83 | return sb.toString(); |
| 84 | } |
| 85 | |
| 86 | public void pushResources(PDFObject resources) { } |
| 87 | public void popResources() { } |
no test coverage detected