source: josm/trunk/src/com/drew/lang/NullOutputStream.java@ 4665

Last change on this file since 4665 was 4231, checked in by stoecker, 13 years ago

add signpost and metadata extractor code to repository directly

File size: 1004 bytes
Line 
1/**
2 * This is public domain software - that is, you can do whatever you want
3 * with it, and include it software that is licensed under the GNU or the
4 * BSD license, or whatever other licence you choose, including proprietary
5 * closed source licenses. I do ask that you leave this header in tact.
6 *
7 * If you make modifications to this code that you think would benefit the
8 * wider community, please send me a copy and I'll post it on my site.
9 *
10 * If you make use of this code, I'd appreciate hearing about it.
11 * drew@drewnoakes.com
12 * Latest version of this software kept at
13 * http://drewnoakes.com/
14 *
15 * Created by dnoakes on Dec 15, 2002 3:30:59 PM using IntelliJ IDEA.
16 */
17package com.drew.lang;
18
19import java.io.IOException;
20import java.io.OutputStream;
21
22public class NullOutputStream extends OutputStream
23{
24 public NullOutputStream()
25 {
26 super();
27 }
28
29 public void write(int b) throws IOException
30 {
31 // do nothing
32 }
33}
Note: See TracBrowser for help on using the repository browser.