import at.bestsolution.efxclipse.formats.fxg.fxg.Graphic;
import at.bestsolution.efxclipse.formats.fxg.handler.FXGLoader;
public class TestConverter {
public static void main(String[] args) {
FXGLoader l = new FXGLoader();
try {
// TODO use a file in the workspace
Graphic g = l.loadGraphic(new File("C:/e-ws/fxclipse/fxg-examples/Duke Billboard T-Shirt CLEAN.fxg").toURI().toURL().openStream());
FXMLConverter c = new FXMLConverter();
System.out.println(c.generate(g));
} catch (MalformedURLException e) {
// TODO Auto-generated catch block
e.printStackTrace();