jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rve...@apache.org
Subject svn commit: r1439823 - /jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/RiotReader.java
Date Tue, 29 Jan 2013 10:46:48 GMT
Author: rvesse
Date: Tue Jan 29 10:46:47 2013
New Revision: 1439823

URL: http://svn.apache.org/viewvc?rev=1439823&view=rev
Log:
Add javadoc to RiotReader.createIteratorTriples() and RiotReader.createIteratorQuads()

Modified:
    jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/RiotReader.java

Modified: jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/RiotReader.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/RiotReader.java?rev=1439823&r1=1439822&r2=1439823&view=diff
==============================================================================
--- jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/RiotReader.java (original)
+++ jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/RiotReader.java Tue Jan 29 10:46:47
2013
@@ -236,6 +236,13 @@ public class RiotReader
         parse(in, lang, baseIRI, dest) ;
     }
 
+    /**
+     * Create an iterator over the parsed triples
+     * @param input Input Stream
+     * @param lang Language
+     * @param baseIRI Base IRI
+     * @return Iterator over the triples
+     */
     public static Iterator<Triple> createIteratorTriples(final InputStream input, final
Lang lang, final String baseIRI)
     {
         // Special case N-Triples, because the RIOT reader has a pull interface
@@ -262,7 +269,14 @@ public class RiotReader
             return it;
         }
     }
-    
+   
+    /**
+     * Creates an iterator over the parsed quads
+     * @param input Input Stream
+     * @param lang Language
+     * @param baseIRI Base IRI
+     * @return Iterator over the quads
+     */
     public static Iterator<Quad> createIteratorQuads(final InputStream input, final
Lang lang, final String baseIRI)
     {
         // Special case N-Quads, because the RIOT reader has a pull interface



Mime
View raw message