/**
* InstantJ
*
* Copyright (C) 2002 Nils Meier
* Additional changes (C) 2002 Andy Thomas
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
*/
package instantj.compile.pizza;
import java.io.IOException;
import java.io.OutputStream;
/**
* A no-op output stream
*/
public class DummyOutputStream extends OutputStream {
/**
* @see instantj.compile.pizza.PizzaSourceCompiler#write(int)
*/
public void write(int b) throws IOException {
// ignored
}
} //DummyOutputStream
|