jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [3/4] jena git commit: Delete deprecated.
Date Wed, 23 Dec 2015 17:39:06 GMT
Delete deprecated.

Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/a0e0f895
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/a0e0f895
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/a0e0f895

Branch: refs/heads/master
Commit: a0e0f895c1c06fa98ac42b9e3388316ef3e59179
Parents: 0b8f36b
Author: Andy Seaborne <andy@apache.org>
Authored: Wed Dec 23 17:28:24 2015 +0000
Committer: Andy Seaborne <andy@apache.org>
Committed: Wed Dec 23 17:30:31 2015 +0000

----------------------------------------------------------------------
 .../java/org/apache/jena/riot/RiotWriter.java   | 129 -------------------
 1 file changed, 129 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/a0e0f895/jena-arq/src/main/java/org/apache/jena/riot/RiotWriter.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/riot/RiotWriter.java b/jena-arq/src/main/java/org/apache/jena/riot/RiotWriter.java
deleted file mode 100644
index 0e5cde0..0000000
--- a/jena-arq/src/main/java/org/apache/jena/riot/RiotWriter.java
+++ /dev/null
@@ -1,129 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.jena.riot;
-
-import java.io.OutputStream ;
-import java.util.Iterator ;
-
-import org.apache.jena.graph.Triple ;
-import org.apache.jena.riot.writer.* ;
-import org.apache.jena.sparql.core.Quad ;
-
-/** Direct call to create writers for specific formats.
- *  The normal way to write is {@link RDFDataMgr} 
- */
-@Deprecated
-public class RiotWriter
-{
-    public static void writeNQuads(OutputStream out, Iterator<Quad> it) {
-        NQuadsWriter.write(out, it) ;
-    }
-
-    public static void writeTriples(OutputStream out, Iterator<Triple> it) {
-        NTriplesWriter.write(out, it) ;
-    }
-
-    // ---- Create writers
-
-    /** Create a Turtle writer
-     @deprecated Use {@link RDFDataMgr#createGraphWriter(Lang)} 
-     */
-    @Deprecated
-    public static WriterGraphRIOT createTurtle()            { return RDFDataMgr.createGraphWriter(RDFFormat.TURTLE)
; }
-
-    /** Create a streaming Turtle writer
-     *  @deprecated Use {@link RDFDataMgr#createGraphWriter(RDFFormat)} and <tt>RDFFormat.TURTLE_BLOCKS</tt>

-     */
-    @Deprecated
-    public static WriterGraphRIOT createTurtleStreaming()   { return RDFDataMgr.createGraphWriter(RDFFormat.TURTLE_BLOCKS)
; }
-
-    /** Create a streaming Turtle writer
-     *  @deprecated Use {@link RDFDataMgr#createGraphWriter(RDFFormat)} and <tt>RDFFormat.TURTLE_FLAT</tt>

-     */
-    @Deprecated
-    public static WriterGraphRIOT createTurtleFlat()        { return RDFDataMgr.createGraphWriter(RDFFormat.TURTLE_FLAT)
; }
-
-    /** Create am N-Triples writer
-     *  @deprecated Use {@link RDFDataMgr#createGraphWriter(Lang)} 
-     */
-    @Deprecated
-    public static WriterGraphRIOT createNTriples()          { return RDFDataMgr.createGraphWriter(RDFFormat.NTRIPLES)
; } 
-
-    /** Create an N-Triples writer, restricted to ASCII characters in the output. 
-     * Other chars escaped in \ u sequences.
-     * @deprecated Use {@link RDFDataMgr#createGraphWriter(RDFFormat)} and <tt>RDFFormat.NTRIPLES_ASCII</tt>

-     */
-    @Deprecated
-    public static WriterGraphRIOT createNTriplesASCII()     { return RDFDataMgr.createGraphWriter(RDFFormat.NTRIPLES_ASCII)
; }
-
-    /** Create an RDF/XML writer which pretty-prints
-    *   @deprecated Use {@link RDFDataMgr#createGraphWriter(RDFFormat)} and <tt>RDFFormat.RDFXML_ABBREV</tt>
-    */
-    @Deprecated
-    public static WriterGraphRIOT createRDFXMLAbbrev()      { return RDFDataMgr.createGraphWriter(RDFFormat.RDFXML_ABBREV)
; }
-
-    /** Create an RDF/XML writer which pretty-prints
-    *   @deprecated Use {@link RDFDataMgr#createGraphWriter(RDFFormat)} and <tt>RDFFormat.RDFXML_PLAIN</tt>
-    */
-    @Deprecated
-    public static WriterGraphRIOT createRDFXMLPlain()       { return RDFDataMgr.createGraphWriter(RDFFormat.RDFXML_PLAIN)
; }
-
-    /** Create an RDF/JSON writer
-     *  @deprecated Use {@link RDFDataMgr#createGraphWriter(Lang)} and <tt>Lang.RDFJSON</tt>
-     */
-    @Deprecated
-    public static WriterGraphRIOT createRDFJSON()           { return RDFDataMgr.createGraphWriter(RDFFormat.RDFJSON)
; }
-    /** Create a TriG writer
-     *  @deprecated Use {@link RDFDataMgr#createDatasetWriter(Lang)} and <tt>Lang.TRIG</tt>
-     */
-    @Deprecated
-    public static WriterDatasetRIOT createTrig()            { return RDFDataMgr.createDatasetWriter(RDFFormat.TRIG)
; }
-
-    /** Create a streaming TriG writer
-     *  @deprecated Use {@link RDFDataMgr#createDatasetWriter(RDFFormat)} and <tt>RDFFormat.TRIG_BLOCKS</tt>

-     */
-    @Deprecated
-    public static WriterDatasetRIOT createTrigStreaming()   { return RDFDataMgr.createDatasetWriter(RDFFormat.TRIG_BLOCKS)
; }
-
-    /** Create a streaming TriG writer with one quad per line.
-     *  @deprecated Use {@link RDFDataMgr#createDatasetWriter(RDFFormat)} and <tt>RDFFormat.TRIG_FLAT</tt>

-     */
-    @Deprecated
-    public static WriterDatasetRIOT createTrigFlat()        { return RDFDataMgr.createDatasetWriter(RDFFormat.TRIG_FLAT)
; }
-
-    /** Create an N-Quads writer
-     * @deprecated Use {@link RDFDataMgr#createDatasetWriter(Lang)} and <tt>Lang.NQUADS</tt>
    
-     */
-    @Deprecated
-    public static WriterDatasetRIOT createNQuads()          { return RDFDataMgr.createDatasetWriter(RDFFormat.NQUADS)
; }
-    
-    /** Create an N-Quads writer, restricted to ASCII characters in the output. 
-     * Other chars escaped in \ u sequences.
-     * @deprecated Use {@link RDFDataMgr#createGraphWriter(RDFFormat)} and <tt>RDFFormat.NQUADS_ASCII</tt>

-     */
-    @Deprecated
-    public static WriterDatasetRIOT createNQuadsASCII()     { return RDFDataMgr.createDatasetWriter(RDFFormat.NQUADS_ASCII)
; }
-
-    /** Create a sink writer
-     * @deprecated Use {@link RDFDataMgr#createDatasetWriter(RDFFormat)} and <tt>RDFFormat.RDFNULL</tt>
-     */
-    @Deprecated
-    public static WriterDatasetRIOT createRDFNULL()         { return RDFDataMgr.createDatasetWriter(RDFFormat.RDFNULL)
; }           
-}
-


Mime
View raw message