}
scala.collection.Seq<org.geoscript.geocss.Rule> rules = CssParser.parse(css).get();
Translator translator =
new Translator(scala.Option.apply(styleDir.toURI().toURL()));
Style style = translator.css2sld(rules);
SLDTransformer tx = new org.geotools.styling.SLDTransformer();
tx.setIndentation(2);
StringWriter sldChars = new java.io.StringWriter();
tx.transform(style, sldChars);