public static void stringToStream(final String string, final OutputStream outputStream) {
        stringToStream(string, outputStream, DEFAULT_CHARSET);
    }
Takes a string and writes it to an output stream.
stroom-legacy/stroom-legacy-model_6_1/src/main/java/stroom/legacy/model_6_1/StreamUtil.java