* Diagnostic method for logging all registered fonts to System.out.
*/
public void dumpAllTripletsToSystemOut() {
- System.out.print(toString());
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public String toString() {
SortedSet<String> entries = new TreeSet<String>();
for (FontTriplet triplet : this.triplets.keySet()) {
String key = getInternalFontKey(triplet);
for (String str : entries) {
stringBuffer.append(str);
}
- return stringBuffer.toString();
+ System.out.println(stringBuffer.toString());
}
}