return new RDFEventReaderImpl(stream, baseURI, parser);
}
public RDFEventReader createRDFEventReader(final Reader reader, final URI baseURI, final Graph graph) {
final TriplesParser triplesParser = new TriplesParserImpl(init(graph));
final PrefixParser prefixParser = new PrefixParserImpl(REGEX_MATCHER_FACTORY, namespaceListener);
final FormatParser parser = new N3FormatParser(triplesParser, prefixParser);
return new RDFEventReaderImpl(reader, baseURI, parser);
}