You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commonsrdf.apache.org by st...@apache.org on 2016/10/30 19:50:07 UTC
[1/3] incubator-commonsrdf git commit: RDFTermFactory -> RDF
Repository: incubator-commonsrdf
Updated Branches:
refs/heads/master c81e66841 -> 3fb92fae2
RDFTermFactory -> RDF
Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/7b4df088
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/7b4df088
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/7b4df088
Branch: refs/heads/master
Commit: 7b4df088bea4004dd590d0d4635c7f5dde7c3e25
Parents: c81e668
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Sun Oct 30 19:47:09 2016 +0000
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Sun Oct 30 19:47:09 2016 +0000
----------------------------------------------------------------------
src/site/markdown/index.md | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/7b4df088/src/site/markdown/index.md
----------------------------------------------------------------------
diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md
index 242a556..09b09d8 100644
--- a/src/site/markdown/index.md
+++ b/src/site/markdown/index.md
@@ -98,9 +98,10 @@ explicit convertion.
To create such instances without hard-coding an implementation, one can use:
-* [RDFTermFactory](apidocs/index.html?org/apache/commons/rdf/api/RDFTermFactory.html):
- factory interface for creating instances of the above types
- (e.g. `LiteralImpl` and `GraphImpl`).
+* [RDF](apidocs/index.html?org/apache/commons/rdf/api/RDF.html):
+ interface for creating instances of the above types
+ (e.g. `LiteralImpl` and `GraphImpl`) as well as converting from/to
+ the underlying framework's API.
The API also includes a couple of "upper" interfaces which do not have
[3/3] incubator-commonsrdf git commit: hyperlinks
Posted by st...@apache.org.
hyperlinks
Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/3fb92fae
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/3fb92fae
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/3fb92fae
Branch: refs/heads/master
Commit: 3fb92fae2d831adb9427e789baeb1dc6d47af851
Parents: ca538d2
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Sun Oct 30 19:49:57 2016 +0000
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Sun Oct 30 19:49:57 2016 +0000
----------------------------------------------------------------------
src/site/markdown/implementations.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/3fb92fae/src/site/markdown/implementations.md
----------------------------------------------------------------------
diff --git a/src/site/markdown/implementations.md b/src/site/markdown/implementations.md
index 33ba724..9918f1d 100644
--- a/src/site/markdown/implementations.md
+++ b/src/site/markdown/implementations.md
@@ -144,7 +144,7 @@ Objects created with [RDF4J](apidocs/org/apache/commons/rdf/rdf4j/RDF4J.html) i
#### Closing RDF4J resources
-When using `RDF4J` with an RDF4J `Repository`, e.g. from [asRDFTermGraph(Repository)](apidocs/org/apache/commons/rdf/rdf4j/RDF4J.html#asRDFTermGraph-org.eclipse.rdf4j.repository.Repository-org.apache.commons.rdf.rdf4j.RDF4J.Option...-), care must be taken to close underlying resources when using the methods [stream()](apidocs/org/apache/commons/rdf/rdf4j/RDF4JGraph.html#stream--) and [iterate()](apidocs/org/apache/commons/rdf/rdf4j/RDF4JGraph.html#iterate--) for both `Graph`s and `Dataset`s.
+When using `RDF4J` with an RDF4J `Repository`, e.g. from [asRDFTermGraph(Repository)](apidocs/org/apache/commons/rdf/rdf4j/RDF4J.html#asGraph-org.eclipse.rdf4j.repository.Repository-org.apache.commons.rdf.rdf4j.RDF4J.Option...-), care must be taken to close underlying resources when using the methods [stream()](apidocs/org/apache/commons/rdf/rdf4j/RDF4JGraph.html#stream--) and [iterate()](apidocs/org/apache/commons/rdf/rdf4j/RDF4JGraph.html#iterate--) for both `Graph`s and `Dataset`s.
This can generally achieved using a [try-with-resources](https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html) block, e.g.:
[2/3] incubator-commonsrdf git commit: markdown typo
Posted by st...@apache.org.
markdown typo
Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/ca538d2f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/ca538d2f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/ca538d2f
Branch: refs/heads/master
Commit: ca538d2f68d9d27761c8f703bee591142b30b8c4
Parents: 7b4df08
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Sun Oct 30 19:47:52 2016 +0000
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Sun Oct 30 19:47:52 2016 +0000
----------------------------------------------------------------------
src/site/markdown/index.md | 1 -
1 file changed, 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/ca538d2f/src/site/markdown/index.md
----------------------------------------------------------------------
diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md
index 09b09d8..1079863 100644
--- a/src/site/markdown/index.md
+++ b/src/site/markdown/index.md
@@ -128,7 +128,6 @@ The project is composed by two modules:
scenarios.
* [jena](apidocs/index.html?org/apache/commons/rdf/jena/package-summary.html)
provides an Apache Jena-backed implementation
-
* [rdf4j](apidocs/index.html?org/apache/commons/rdf/rdf4j/package-summary.html)
provides an Eclipse RDF4J-backed implementation
* [jsonld-java](apidocs/index.html?org/apache/commons/rdf/jsonldjava/package-summary.html)