From: adam Date: Sun, 8 Jul 2007 22:51:48 +0000 (+0000) Subject: add NullOutputStream X-Git-Url: http://git.megacz.com/?p=org.ibex.io.git;a=commitdiff_plain;h=507eb0365a6b596e61b99e507126b4c197ebce11 add NullOutputStream darcs-hash:20070708225148-5007d-1565760753904bc420c30fd9f7397523610c972f.gz --- diff --git a/src/org/ibex/io/NullOutputStream.java b/src/org/ibex/io/NullOutputStream.java new file mode 100644 index 0000000..fcae4b5 --- /dev/null +++ b/src/org/ibex/io/NullOutputStream.java @@ -0,0 +1,11 @@ +// Copyright 2007 the Contributors, as shown in the revision logs. +// Licensed under the Apache Public Source License 2.0 ("the License"). +// You may not use this file except in compliance with the License. + +package org.ibex.io; +import java.io.*; + +public class NullOutputStream extends OutputStream { + public void write(int b) { } + public void write(byte[] b, int off, int len) { } +}