Mercurial Hosting > nabble
view src/nabble/naml/compiler/IPrintWriter.java @ 0:7ecd1a4ef557
add content
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 21 Mar 2019 19:15:52 -0600 |
parents | |
children |
line wrap: on
line source
package nabble.naml.compiler; /* PrintWriter should have been an interface. Because the java.io library is poorly designed, I have to hack this interface. */ public interface IPrintWriter { public PrintWriter getPrintWriter(); public void close(); public void print(Object obj); public void print(String s); public void print(boolean b); public void print(char c); public void print(Boolean b); public void flush(); // add more as needed }