public class StardogMappingSyntaxParser extends Object
| Constructor and Description |
|---|
StardogMappingSyntaxParser() |
StardogMappingSyntaxParser(String theSep) |
| Modifier and Type | Method and Description |
|---|---|
Set<Statement> |
parse(InputStream theInput,
com.stardog.stark.io.RDFFormat theFormat)
Parses the mappings from the given
InputStream. |
Pair<Namespaces,Set<Statement>> |
parse(Reader theInput,
com.stardog.stark.io.RDFFormat theFormat)
Parses the mappings from the given input
Reader. |
public StardogMappingSyntaxParser()
public StardogMappingSyntaxParser(String theSep)
public Set<Statement> parse(InputStream theInput, com.stardog.stark.io.RDFFormat theFormat) throws IOException
InputStream.theInput - the input streamtheFormat - the format of the input stream, should be Turtle or TriGIOExceptionpublic Pair<Namespaces,Set<Statement>> parse(Reader theInput, com.stardog.stark.io.RDFFormat theFormat) throws IOException
Reader.theInput - the input ReadertheFormat - the format of the input stream, should be Turtle or TriGPair containing the extracted Namespaces and the RDF model containing mappings in R2RML syntaxIOExceptionCopyright © 2010-2016 Stardog Union. All Rights Reserved.