public interface RDFReaderF
This factory interface is slightly unusual, in that, as well as creating and returning RDFReader's, it also provides methods for creating a reader, invoking a read method on it and then shuting it down.
The factory will create an appropriate reader for the particular serialization language being read. Predefined languages include:
System wide defaults for classes to use as readers for these languages
are defined. These defaults may be overwridden by setting a system property
with a name of the form com.hp.hpl.jena.readers.
Modifier and Type | Method and Description |
---|---|
RDFReader |
getReader()
return an RDFReader instance for the default serialization language.
|
RDFReader |
getReader(String lang)
return an RDFReader instance for the specified serialization language.
|
String |
setReaderClassName(String lang,
String className)
set the class name for the RDFReader for a langauge
|
RDFReader getReader()
RDFReader getReader(String lang)
lang
- the serialization langauge - null
selects the
defaultLicenced under the Apache License, Version 2.0