@Test public void test() throws FileNotFoundException, IOException { final InputStream inputStream = getClass().getResourceAsStream(filepath); final XtaSystem system = XtaDslManager.createSystem(inputStream); final XtaProcess process = system.getProcesses().get(0); System.out.println(GraphvizWriter.getInstance().writeString(XtaVisualizer.visualize(process))); }
public static XtaSystem createSystem(final String inputString) throws IOException { final InputStream stream = new ByteArrayInputStream(inputString.getBytes(StandardCharsets.UTF_8.name())); return createSystem(stream); }
XtaDslManager { public static XtaSystem createSystem(final String inputString) throws IOException { final InputStream stream = new ByteArrayInputStream(inputString.getBytes(StandardCharsets.UTF_8.name())); return createSystem(stream); } }
XtaDslManager { public static XtaSystem createSystem(final String inputString) throws IOException { final InputStream stream = new ByteArrayInputStream(inputString.getBytes(StandardCharsets.UTF_8.name())); return createSystem(stream); } private  XtaDslManager(); }
XtaDslManager { public static XtaSystem createSystem(final String inputString) throws IOException { final InputStream stream = new ByteArrayInputStream(inputString.getBytes(StandardCharsets.UTF_8.name())); return createSystem(stream); } private  XtaDslManager(); static XtaSystem createSystem(final String inputString); static XtaSystem createSystem(final InputStream inputStream); }
XtaDslManager { public static XtaSystem createSystem(final String inputString) throws IOException { final InputStream stream = new ByteArrayInputStream(inputString.getBytes(StandardCharsets.UTF_8.name())); return createSystem(stream); } private  XtaDslManager(); static XtaSystem createSystem(final String inputString); static XtaSystem createSystem(final InputStream inputStream);  }