FileLoaderLoadDataset Method |
Loads the contents of the given File using a RDF Handler providing the RDF dataset format can be determined.
Namespace:
VDS.RDF.Parsing
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax public static void LoadDataset(
IRdfHandler handler,
string filename
)
Public Shared Sub LoadDataset (
handler As IRdfHandler,
filename As String
)
Parameters
- handler
- Type: VDS.RDFIRdfHandler
RDF Handler to use. - filename
- Type: SystemString
File to load from.
Remarks
The FileLoader attempts to select a Store Parser by examining the file extension to select the most likely MIME type for the file. This assume that the file extension corresponds to one of the recognized file extensions for a RDF dataset format the library supports. If this suceeds then a parser is chosen and used to parse the input file.
See Also