Skip to content

Commit

Permalink
Remove unused getParserPull method.
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenVerborgh committed Dec 4, 2016
1 parent b5760ec commit 417e1af
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
3 changes: 0 additions & 3 deletions hdt-lib/include/RDFParser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
17 changes: 0 additions & 17 deletions hdt-lib/src/rdf/RDFParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 417e1af

Please sign in to comment.