import at.bestsolution.efxclipse.formats.svg.svg.SvgSvgElement;
public class SVGStreamConverter {
public void converter(InputStream inputStream, OutputStream outputStream) throws Exception {
XMLLoader loader = new XMLLoader();
SvgSvgElement rootElement = loader.loadDocument(null, inputStream);
FXMLConverter converter = new FXMLConverter(rootElement);
outputStream.write(converter.generate().toString().getBytes());
}
}