jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From casta...@apache.org
Subject svn commit: r1187554 - /incubator/jena/Jena2/ARQ/trunk/src/main/java/org/openjena/riot/SysRIOT.java
Date Fri, 21 Oct 2011 21:32:16 GMT
Author: castagna
Date: Fri Oct 21 21:32:16 2011
New Revision: 1187554

URL: http://svn.apache.org/viewvc?rev=1187554&view=rev
Log: (empty)

Modified:
    incubator/jena/Jena2/ARQ/trunk/src/main/java/org/openjena/riot/SysRIOT.java

Modified: incubator/jena/Jena2/ARQ/trunk/src/main/java/org/openjena/riot/SysRIOT.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/src/main/java/org/openjena/riot/SysRIOT.java?rev=1187554&r1=1187553&r2=1187554&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/src/main/java/org/openjena/riot/SysRIOT.java (original)
+++ incubator/jena/Jena2/ARQ/trunk/src/main/java/org/openjena/riot/SysRIOT.java Fri Oct 21
21:32:16 2011
@@ -19,7 +19,6 @@
 package org.openjena.riot;
 
 import org.openjena.atlas.event.EventType ;
-import org.openjena.riot.out.RDFJSONWriter ;
 import org.openjena.riot.system.JenaReaderNTriples2 ;
 import org.openjena.riot.system.JenaReaderRdfJson ;
 import org.openjena.riot.system.JenaReaderTurtle2 ;
@@ -28,6 +27,7 @@ import org.slf4j.Logger ;
 import org.slf4j.LoggerFactory ;
 
 import com.hp.hpl.jena.rdf.model.impl.RDFReaderFImpl ;
+import com.hp.hpl.jena.rdf.model.impl.RDFWriterFImpl ;
 
 public class SysRIOT
 {
@@ -86,12 +86,11 @@ public class SysRIOT
         RDFReaderFImpl.setBaseReaderClassName("Turtle", readerTTL) ;
         RDFReaderFImpl.setBaseReaderClassName("TTL",    readerTTL) ;
 
-        // Add in the RDF/JSON reader
+        // Add in the RDF/JSON reader and writer
         String readerRdfJson = JenaReaderRdfJson.class.getName() ;
         RDFReaderFImpl.setBaseReaderClassName("RDF/JSON", readerRdfJson) ;
         String writerRdfJson = JenaWriterRdfJson.class.getName() ;
-        // TODO: JENA-131, the static method below is not yet available in a released version
of Jena
-        // RDFWriterFImpl.setBaseWriterClassName("RDF/JSON", writerRdfJson) ;
+        RDFWriterFImpl.setBaseWriterClassName("RDF/JSON", writerRdfJson) ;
     }
     
     public static void resetJenaReaders()
@@ -105,8 +104,7 @@ public class SysRIOT
         RDFReaderFImpl.setBaseReaderClassName("TTL",    jenaTurtleReader) ;
 
         RDFReaderFImpl.setBaseReaderClassName("RDF/JSON", null) ;
-        // TODO: JENA-131, the static method below is not yet available in a released version
of Jena
-        // RDFWriterFImpl.setBaseWriterClassName("RDF/JSON", null) ;
+        RDFWriterFImpl.setBaseWriterClassName("RDF/JSON", null) ;
     }
 
 }



Mime
View raw message