MCPcopy Create free account
hub / github.com/davidgiven/luje / flush

Method flush

lib/java/io/BufferedWriter.java:131–140  ·  view source on GitHub ↗

Flushes this writer. The contents of the buffer are committed to the target writer and it is then flushed. @throws IOException if an error occurs while flushing this writer.

()

Source from the content-addressed store, hash-verified

129 * if an error occurs while flushing this writer.
130 */
131 @Override
132 public void flush() throws IOException {
133 synchronized (lock) {
134 if (isClosed()) {
135 throw new IOException(Messages.getString("luni.A7")); //$NON-NLS-1$
136 }
137 flushInternal();
138 out.flush();
139 }
140 }
141
142 /**
143 * Flushes the internal buffer.

Callers

nothing calls this directly

Calls 4

isClosedMethod · 0.95
getStringMethod · 0.95
flushInternalMethod · 0.95
flushMethod · 0.65

Tested by

no test coverage detected