Java: Consume InputStream by Null OutputStream








OutputStream nullOutputStream = new OutputStream() { 
    @Override
    public void write(int b) {
    }
};

See also




No comments:

Post a Comment