Rob wrote:


[..] the in.setURI method only accepts a String by the looks of it. Is this right? I looked at the code and it appears to be true.. when I run your suggested fix I get:
TestSVGGeneration.java:18: setURI(java.lang.String) in org.apache.batik.transcod
er.TranscoderInput cannot be applied to (java.net.URL)


So I changed:
in.setURI(f.toURL());
to:
in.setURI(f.toString());

You need to go "through" the URL:

           in.setURI(f.toURL().toString());


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to