public static InputStream stringToStream(final String string) {
        return stringToStream(string, DEFAULT_CHARSET);
    }
Convert a string to a stream.

@return the stream or null
stroom-legacy/stroom-legacy-model_6_1/src/main/java/stroom/legacy/model_6_1/StreamUtil.java