(char[] cbuf, int off, int len)
| 32 | } |
| 33 | |
| 34 | @Override |
| 35 | public int read(char[] cbuf, int off, int len) throws IOException { |
| 36 | int read = source.read(cbuf, off, len); |
| 37 | |
| 38 | if (read != -1) { |
| 39 | for (Writer sink : sinks) { |
| 40 | sink.write(cbuf, off, read); |
| 41 | } |
| 42 | } |
| 43 | return read; |
| 44 | } |
| 45 | |
| 46 | @Override |
| 47 | public void close() throws IOException { |