IRdfReaderLoad Method (IRdfHandler, StreamReader) |
Method for Loading RDF using a RDF Handler from some Concrete RDF Syntax via some arbitrary Stream.
Namespace:
VDS.RDF
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax void Load(
IRdfHandler handler,
StreamReader input
)
Sub Load (
handler As IRdfHandler,
input As StreamReader
)
Parameters
- handler
- Type: VDS.RDFIRdfHandler
RDF Handler to use. - input
- Type: System.IOStreamReader
The reader to read input from.
Exceptions Exception | Condition |
---|
RdfException | Thrown if the Parser tries to output something that is invalid RDF. |
RdfParseException | Thrown if the Parser cannot Parse the Input. |
IOException | Thrown if the Parser encounters an IO Error while trying to access/parse the Stream. |
See Also