01: /* Copyright 2004 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.utils;
07:
08: import java.io.IOException;
09: import java.io.OutputStream;
10:
11: /**
12: * Very simple OutputStream implementation that does nothing
13: * with the data written to it (the famous /dev/null)
14: *
15: * @author Eric Dalquist <a href="mailto:edalquist@unicon.net">edalquist@unicon.net</a>
16: * @version $Revision: 35413 $
17: */
18: public class NullOutputStream extends OutputStream {
19: /**
20: * @see java.io.OutputStream#write(int)
21: */
22: public void write(int b) throws IOException {
23:
24: }
25: }
|