Send the buffer to the sink. Called by append() when the limit is reached. You can also call it explicitly to force the data to be written. @throws IOException Writing overflow data to the output channel failed
()
| 377 | * @throws IOException Writing overflow data to the output channel failed |
| 378 | */ |
| 379 | public void flushBuffer() throws IOException { |
| 380 | // assert out!=null |
| 381 | if (out == null) { |
| 382 | throw new IOException( |
| 383 | sm.getString("chunk.overflow", Integer.valueOf(getLimit()), Integer.valueOf(buff.length))); |
| 384 | } |
| 385 | out.realWriteChars(buff, start, end - start); |
| 386 | end = start; |
| 387 | } |
| 388 | |
| 389 | |
| 390 | /** |
no test coverage detected