public class ObjectParser extends Object
| Constructor and Description |
|---|
ObjectParser()
Basic constructor, which sets up all the necessary repositories.
|
| Modifier and Type | Method and Description |
|---|---|
List<Annotation> |
parse(String content,
URL documentURL,
org.openrdf.rio.RDFFormat format)
Used to parse a given text content, supported in a given serialization
format.
|
void |
shutdown()
Shutdown method, closing all repositories and corresponding connection
objects.
|
public ObjectParser()
throws org.openrdf.repository.RepositoryException,
org.openrdf.repository.config.RepositoryConfigException
org.openrdf.repository.RepositoryExceptionorg.openrdf.repository.config.RepositoryConfigExceptionpublic void shutdown()
throws org.openrdf.repository.RepositoryException
org.openrdf.repository.RepositoryExceptionpublic List<Annotation> parse(String content, URL documentURL, org.openrdf.rio.RDFFormat format)
content - The String representation of the textcontent.documentURL - The basic URL used for namespaces.format - The format of the given serialization. Needs to be
supported of an instance of RDFFormat.Copyright © 2016 Chair of Distributed Information Systems - University of Passau. All rights reserved.