|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NamedGraphSetReader
Reads a serialized set of Named Graphs from a Reader, InputStream, or URL
into a NamedGraphSet. An Implementation will provide support for
a single serialization syntax, such as TriX or TriG.
A NamedGraphSetReader instance can only be used to read one file. To read another file, a new instance must be created.
NamedGraphSetReaders are used through NamedGraphSet's read
methods, or through a GraphReaderService.
| Method Summary | |
|---|---|
void |
read(NamedGraphSet namedGraphSet,
InputStream source,
String baseURI,
String defaultGraphName)
Reads Named Graphs from an InputStream into a NamedGraphSet. |
void |
read(NamedGraphSet namedGraphSet,
Reader source,
String baseURI,
String defaultGraphName)
Reads Named Graphs from a Reader into a NamedGraphSet. |
| Method Detail |
|---|
void read(NamedGraphSet namedGraphSet,
Reader source,
String baseURI,
String defaultGraphName)
namedGraphSet - Graphs read from the source will be stored
into this NamedGraphSetsource - The source of the input serializationbaseURI - The URI from where the input was readdefaultGraphName - If a graph in the input has no name attached,
then this will be used. When in doubt, use the baseURI.
void read(NamedGraphSet namedGraphSet,
InputStream source,
String baseURI,
String defaultGraphName)
namedGraphSet - Graphs read from the source will be stored
into this NamedGraphSetsource - The source of the input serializationbaseURI - The URI from where the input was readdefaultGraphName - If a graph in the input has no name attached,
then this will be used. When in doubt, use the baseURI.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||