public static void flushCloseWriter(final Writer pWriter) {
        if (pWriter != null) {
            try {
                pWriter.flush();
            } catch (final IOException e) {

            } finally {
                StreamUtils.close(pWriter);
            }
        }
    }
Flushes and closes the specified stream.

@param pWriter The Writer to close.
imitate/src/main/java/com/engineer/imitate/util/StreamUtils.java