Mercurial Hosting > nabble
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:7ecd1a4ef557 |
---|---|
1 package nabble.naml.compiler; | |
2 | |
3 | |
4 /* | |
5 PrintWriter should have been an interface. Because the java.io library is poorly designed, I have to hack this interface. | |
6 */ | |
7 | |
8 public interface IPrintWriter { | |
9 public PrintWriter getPrintWriter(); | |
10 public void close(); | |
11 public void print(Object obj); | |
12 public void print(String s); | |
13 public void print(boolean b); | |
14 public void print(char c); | |
15 public void print(Boolean b); | |
16 public void flush(); | |
17 // add more as needed | |
18 } |