@@ -0,0 +1,275 @@
+package com.tmitim.twittercli;%0A%0Apublic class PrinterFactory %7B%0A%09private static Printer instance = null;%0A%09%0A%09protected PrinterFactory() %7B%09%0A%09%7D%0A%09%0A%09public static Printer getPrinter()%7B%0A%09%09if (instance == null) %7B%0A%09%09%09return new SystemPrinter();%0A%09%09%7D else %7B%0A%09%09%09return instance;%0A%09%09%7D%0A%09%7D%0A%7D%0A

Add singleton PrinterFactory