}\r
\r
public static Properties create(String properties) {\r
- String p = wrapPropertiesString(properties);\r
+ String p = camelizePropertiesKeys(wrapPropertiesString(properties));\r
try {\r
return (Properties) createImpl(p);\r
} catch (Exception e) {\r
+ "})";\r
return ret;\r
}\r
+ \r
+ public static native String camelizePropertiesKeys(String s)/*-{\r
+ return s.replace(/(\w+)\-(\w)(\w*:)/g, function(all, g1, letter, g2) {\r
+ return g1 + letter.toUpperCase() + g2;\r
+ });\r
+ }-*/;\r
\r
protected Properties() {\r
}\r