public static void write(Appendable writer, Card card) throws IOException {
for (String s : toStrings(card)) {
writer.append(s);
public static void write(Appendable writer, Card card) throws IOException {
for (String s : toStrings(card)) {
writer.append(s);