public final class NTriplesParser extends Pipe<TripleSink> implements CharSink
List of supported options:
| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR
Class URI for errors produced by a parser
|
| Modifier and Type | Method and Description |
|---|---|
static CharSink |
connect(TripleSink sink)
Creates instance of NTriplesParser connected to specified sink.
|
void |
process(String line) |
void |
setBaseUri(String baseUri) |
protected boolean |
setPropertyInternal(String key,
Object value) |
endStream, setProperty, startStreamclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitendStream, setProperty, startStreampublic static final String ERROR
public static CharSink connect(TripleSink sink)
sink - sink to be connected topublic void process(String line) throws ParseException
process in interface CharSinkParseExceptionpublic void setBaseUri(String baseUri)
setBaseUri in interface DataSinkprotected boolean setPropertyInternal(String key, Object value)
setPropertyInternal in class Pipe<TripleSink>Copyright © 2012-2013. All Rights Reserved.