@Test public void Umlaut_Escaping() { writer.begin(); writer.handle(new STMT(RDF.predicate, RDFS.label, new LIT("Pr\u00E4dikat", Locale.GERMAN))); writer.end(); System.out.println(writer.toString()); String str = writer.toString(); assertTrue(str.contains("rdf:predicate rdfs:label \"Pr\u00E4dikat\"@de .")); }
@Override public String toString() { ((StringBuilder) appendable).insert(0, prefixesString.toString()); prefixesString.setLength(0); return appendable.toString(); }
TurtleStringWriter extends TurtleWriter { @Override public String toString() { ((StringBuilder) appendable).insert(0, prefixesString.toString()); prefixesString.setLength(0); return appendable.toString(); } }
TurtleStringWriter extends TurtleWriter { @Override public String toString() { ((StringBuilder) appendable).insert(0, prefixesString.toString()); prefixesString.setLength(0); return appendable.toString(); } TurtleStringWriter();  TurtleStringWriter(boolean blankNodeAsURI); }
TurtleStringWriter extends TurtleWriter { @Override public String toString() { ((StringBuilder) appendable).insert(0, prefixesString.toString()); prefixesString.setLength(0); return appendable.toString(); } TurtleStringWriter();  TurtleStringWriter(boolean blankNodeAsURI); @Override String toString(); }
TurtleStringWriter extends TurtleWriter { @Override public String toString() { ((StringBuilder) appendable).insert(0, prefixesString.toString()); prefixesString.setLength(0); return appendable.toString(); } TurtleStringWriter();  TurtleStringWriter(boolean blankNodeAsURI); @Override String toString();  }