Package com.sun.tools.xjc.util
Class NullStream
java.lang.Object
java.io.OutputStream
com.sun.tools.xjc.util.NullStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
Just consumes the byte stream. Kind of like /dev/null.
- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
NullStream
public NullStream()
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-