diff --git a/hdt-lib/include/RDFParser.hpp b/hdt-lib/include/RDFParser.hpp index b05d8830..0c144b76 100644 --- a/hdt-lib/include/RDFParser.hpp +++ b/hdt-lib/include/RDFParser.hpp @@ -72,9 +72,6 @@ class RDFParserPull: public IteratorTripleString { virtual void reset()=0; virtual uint64_t getPos()=0; virtual uint64_t getSize()=0; - - static RDFParserPull *getParserPull(const char *filename, RDFNotation notation); - static RDFParserPull *getParserPull(std::istream &stream, RDFNotation notation); }; class ParseException: public exception { diff --git a/hdt-lib/src/rdf/RDFParser.cpp b/hdt-lib/src/rdf/RDFParser.cpp index 43b0d267..c07138cf 100644 --- a/hdt-lib/src/rdf/RDFParser.cpp +++ b/hdt-lib/src/rdf/RDFParser.cpp @@ -17,23 +17,6 @@ namespace hdt { -RDFParserPull *RDFParserPull::getParserPull(std::istream &stream, RDFNotation notation) { - if(notation==NTRIPLES) { - return new RDFParserNtriples(stream,notation); - } else { - throw ParseException("No Parser available for input RDF Format N-Triples"); - } -} - -RDFParserPull *RDFParserPull::getParserPull(const char *fileName, RDFNotation notation) { - if(notation==NTRIPLES) { - return new RDFParserNtriples(fileName,notation); - } else { - throw ParseException("No Parser available for input RDF Format N-Triples"); - } -} - - RDFParserCallback *RDFParserCallback::getParserCallback(RDFNotation notation) { #ifdef HAVE_SERD if(notation==TURTLE || notation==NTRIPLES) {