private void flushBuffers() throws IOException { if (writer != null) { writer.flush(); } else if (stream != null) { stream.flush(); } } }
private void flushBuffers() throws IOException { if (writer != null) { writer.flush(); } else if (stream != null) { stream.flush(); } } }