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 ([email protected])
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
NullStream
public NullStream()Default constructor.
-
-
Method Details
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-