public interface ReaderRIOT
| Modifier and Type | Method and Description |
|---|---|
default ParserProfile |
getParserProfile()
Deprecated.
Returns null.
|
void |
read(InputStream in,
String baseURI,
ContentType ct,
StreamRDF output,
Context context)
Read from an InputStream and output RDF on the StreamRDF.
|
void |
read(Reader reader,
String baseURI,
ContentType ct,
StreamRDF output,
Context context)
Read from an InputStream and output RDF on the StreamRDF.
|
default void |
setParserProfile(ParserProfile profile)
Deprecated.
Does nothing.
|
void read(InputStream in, String baseURI, ContentType ct, StreamRDF output, Context context)
in - InputStreambaseURI - Base URI (or null)ct - Content-Type if available. Routing to the right
parser will have already been done so this only useful to get
addition Content-Type information or if this ReaderRIOT can
handle multiple media types.output - Destination for the parser output.context - Environment settings.void read(Reader reader, String baseURI, ContentType ct, StreamRDF output, Context context)
reader - Reader. InputStreams are preferred because Reader do not allow RIOT to set the character set.baseURI - Base URI (or null)ct - Content-Type if available. Routing to the right
parser will have already been done so this only useful to get
addition Content-Type information or if this ReaderRIOT can
handle multiple media types.output - Destination for the parser output.context - Environment settings.@Deprecated default ParserProfile getParserProfile()
@Deprecated default void setParserProfile(ParserProfile profile)
Licenced under the Apache License, Version 2.0