@Test public void testNDJSONLDParser() throws Exception { Model transformedModel = new LinkedHashModel(); RDFParser parser = new NDJSONLDParser(); parser.setRDFHandler(new ContextStatementCollector(transformedModel, SimpleValueFactory.getInstance())); parser.parse(NDJSONLDParserTest.class.getResourceAsStream("efo_test.ndjsonld"), "http: Model expectedModel = Rio.parse(NDJSONLDParserTest.class.getResourceAsStream("efo_test.ttl"), "http: JSONParserParseTest.assertEquals(expectedModel, transformedModel); }
@Override public void parse(InputStream in, String baseURI) throws IOException, RDFParseException, RDFHandlerException { parse(new InputStreamReader(in, StandardCharsets.UTF_8), baseURI); }
NDJSONLDParser extends JSONLDParser { @Override public void parse(InputStream in, String baseURI) throws IOException, RDFParseException, RDFHandlerException { parse(new InputStreamReader(in, StandardCharsets.UTF_8), baseURI); } }
NDJSONLDParser extends JSONLDParser { @Override public void parse(InputStream in, String baseURI) throws IOException, RDFParseException, RDFHandlerException { parse(new InputStreamReader(in, StandardCharsets.UTF_8), baseURI); }  }
NDJSONLDParser extends JSONLDParser { @Override public void parse(InputStream in, String baseURI) throws IOException, RDFParseException, RDFHandlerException { parse(new InputStreamReader(in, StandardCharsets.UTF_8), baseURI); }  @Override RDFFormat getRDFFormat(); @Override void parse(InputStream in, String baseURI); @Override void parse(Reader reader, String baseURI); }
NDJSONLDParser extends JSONLDParser { @Override public void parse(InputStream in, String baseURI) throws IOException, RDFParseException, RDFHandlerException { parse(new InputStreamReader(in, StandardCharsets.UTF_8), baseURI); }  @Override RDFFormat getRDFFormat(); @Override void parse(InputStream in, String baseURI); @Override void parse(Reader reader, String baseURI); static final RDFFormat NDJSONLD; }