@Test public void Modify_Empty_Insert() throws IOException { UpdateClause modify = parse("MODIFY DELETE { ?s ?p ?o } INSERT {}"); assertEquals(UpdateClause.Type.MODIFY, modify.getType()); assertEquals("?s ?p ?o", modify.getDelete()); assertNull(modify.getInsert()); }
public UpdateClause parse(String str) throws IOException { return parse(new ByteArrayInputStream(str.getBytes("UTF-8")), "UTF-8"); }
SPARQLUpdateParser { public UpdateClause parse(String str) throws IOException { return parse(new ByteArrayInputStream(str.getBytes("UTF-8")), "UTF-8"); } }
SPARQLUpdateParser { public UpdateClause parse(String str) throws IOException { return parse(new ByteArrayInputStream(str.getBytes("UTF-8")), "UTF-8"); }  }
SPARQLUpdateParser { public UpdateClause parse(String str) throws IOException { return parse(new ByteArrayInputStream(str.getBytes("UTF-8")), "UTF-8"); }  UpdateClause parse(String str); UpdateClause parse(InputStream in); UpdateClause parse(InputStream in, String charset); String collectWhileIn(CharSet... charSets); String collectWhileNotIn(CharSet... charSets); @Override String toString(); }
SPARQLUpdateParser { public UpdateClause parse(String str) throws IOException { return parse(new ByteArrayInputStream(str.getBytes("UTF-8")), "UTF-8"); }  UpdateClause parse(String str); UpdateClause parse(InputStream in); UpdateClause parse(InputStream in, String charset); String collectWhileIn(CharSet... charSets); String collectWhileNotIn(CharSet... charSets); @Override String toString();  }