public class DirectoryReader
- extends Object
Helper class for reading several files from a directory into
a NamedGraphSet. The "file:" URIs will be used as graph names.
TODO: Write tests for DirectoryReader
- Richard Cyganiak (email@example.com)
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void read(NamedGraphSet set,
- Reads files from a directory into a NamedGraphSet. For each file,
a new graph will be created in the graph set. Its name is
the "file:" URI of the file.
set - The NamedGraphSet to which the contents of the files will be added
directory - A directory
lang - "RDF/XML", "N-TRIPLE", "N3", "TRIX" or null
for file extension based auto detection