01: /**
02: * InstantJ
03: *
04: * Copyright (C) 2002 Nils Meier
05: * Additional changes (C) 2002 Andy Thomas
06: *
07: * This library is free software; you can redistribute it and/or
08: * modify it under the terms of the GNU Lesser General Public
09: * License as published by the Free Software Foundation; either
10: * version 2.1 of the License, or (at your option) any later version.
11: *
12: * This library is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15: * Lesser General Public License for more details.
16: *
17: */package instantj.compile.pizza;
18:
19: import java.io.IOException;
20: import java.io.OutputStream;
21:
22: /**
23: * A no-op output stream
24: */
25: public class DummyOutputStream extends OutputStream {
26:
27: /**
28: * @see instantj.compile.pizza.PizzaSourceCompiler#write(int)
29: */
30: public void write(int b) throws IOException {
31: // ignored
32: }
33:
34: } //DummyOutputStream
|