KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > gnu > text > Printable


1 package gnu.text;
2 import gnu.lists.Consumer;
3
4 public interface Printable
5 {
6   // Tempting to do: void print (Appendable out);
7
// in the JAVA5 case. However, then we have to deal
8
// with the complication that the append methods
9
// in Appendable are specified as 'throws IOException'.
10
// Sigh. Maybe later.
11
void print (Consumer out);
12 }
13
Popular Tags