projects
/
org.ibex.io.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f7f893
)
add NullOutputStream
author
adam
<adam@megacz.com>
Sun, 8 Jul 2007 22:51:48 +0000
(22:51 +0000)
committer
adam
<adam@megacz.com>
Sun, 8 Jul 2007 22:51:48 +0000
(22:51 +0000)
darcs-hash:
20070708225148
-5007d-
1565760753904bc420c30fd9f7397523610c972f
.gz
src/org/ibex/io/NullOutputStream.java
[new file with mode: 0644]
patch
|
blob
diff --git a/src/org/ibex/io/NullOutputStream.java
b/src/org/ibex/io/NullOutputStream.java
new file mode 100644
(file)
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) { }
+}