public interface Printable
Appendable (e.g., a
StringBuilder) instead of simply using Object.toString().| Modifier and Type | Method and Description |
|---|---|
void |
print(Appendable a)
Outputs the current object.
|
void print(Appendable a) throws IOException
a - the appendable.IOException - if an error occurs during appending.Copyright © 2013. All Rights Reserved.