public class DirectoryWriter
- extends Object
Helper class for writing a
NamedGraphSet as a directory of
files. This works only with graph names that are "file:" URIs in that
directory. All other graphs will be ignored. This class is most
useful for writing to disk NamedGraphSets that have been read
TODO: Write tests for DirectoryReader
- Richard Cyganiak (firstname.lastname@example.org)
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void write(NamedGraphSet set,
- Writes graphs from a NamedGraphSets as files into a directory.
Only graphs named with "file:" URIs matching the directory will
be written. Other graphs will be ignored.
set - The NamedGraphSet to be written
directory - A directory
lang - "RDF/XML", "N-TRIPLE", "N3" or "TRIX"