TurtleParser implements RdfParser { @Override public void parse(Callback cb) throws InterruptedException, org.semanticweb.yars.nx.parser.ParseException { try { _tpi.parse(cb, _base); } catch (ParseException e) { throw new org.semanticweb.yars.nx.parser.ParseException(e); } } TurtleParser(InputStream is, URI base);  TurtleParser(InputStream is, Charset charset, URI base);  TurtleParser(Reader r, URI base); @Override void setErrorHandler(ErrorHandler eh); @Override void parse(Callback cb);  }
@Test public void relativeURIandRDFtypeAndMultilineTest() throws ParseException, URISyntaxException, InterruptedException, org.semanticweb.yars.nx.parser.ParseException { TurtleParser tp = new TurtleParser(new ByteArrayInputStream(("</a> a \"b\"^^<http: + "</a> a \"b\"^^<http: .getBytes(UTF_8)), UTF_8, new URI("http: CallbackIterator it = new CallbackIterator(); tp.parse(it); for (Node[] nx : it) { Nodes nodes = new Nodes(nx); assertEquals( nodes, new Nodes( new Node[] { new Resource("<http: new Resource( "<http: true), new Literal("\"b\"^^<http: } }