public String toArgLine() {
        StringBuilder builder = new StringBuilder();
        builder.append(MAGIC_MARKER);
        boolean doneOne = false;
        for (Entry<String, String> entry : entrySet()) {
            if (doneOne) {
                builder.append(" ");
            }
            encode(builder, entry.getKey());
            builder.append("=");
            encode(builder, entry.getValue());
            doneOne = true;
        }
        builder.append(MAGIC_MARKER);

        return builder.toString();
    }
Class that allows you to embed properties in a string. Used for some simple
stuff that is outside GWT (like data upload).
stroom-util-shared/src/main/java/stroom/util/shared/PropertyMap.java