@Override public int read(char[] cbuf, int off, int len) throws IOException { if (closed) { throw new IOException(sm.getString("inputBuffer.streamClosed")); } return cb.substract(cbuf, off, len); }
@Override public int read() throws IOException { if (closed) { throw new IOException(sm.getString("inputBuffer.streamClosed")); } return cb.substract(); }