My Tech Notes
Java: Consume InputStream by Null OutputStream
OutputStream nullOutputStream = new OutputStream() { @Override public void write(int b) { } };
See also
Is there a Null OutputStream in Java?
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment