public String marshal()

in geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/StringMapAdapter.java [51:60]


    public String marshal(Map<String, String> map) throws Exception {
        if (map == null) {
            return "";
        }
        Properties properties = new Properties();
        properties.putAll(map);
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        properties.store(out, null);
        return new String(out.toByteArray());
    }