jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject jena git commit: JENA-1637: Update command csv2rdf
Date Sun, 25 Nov 2018 20:06:44 GMT
Repository: jena
Updated Branches:
  refs/heads/master 5a0843d7e -> 613c9d052


JENA-1637: Update command csv2rdf


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

Branch: refs/heads/master
Commit: 613c9d0527feae7a1fb796875ab2507827130764
Parents: 5a0843d
Author: Andy Seaborne <andy@apache.org>
Authored: Sun Nov 25 20:06:37 2018 +0000
Committer: Andy Seaborne <andy@apache.org>
Committed: Sun Nov 25 20:06:37 2018 +0000

----------------------------------------------------------------------
 jena-csv/src/main/java/riotcmdx/csv2rdf.java | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/613c9d05/jena-csv/src/main/java/riotcmdx/csv2rdf.java
----------------------------------------------------------------------
diff --git a/jena-csv/src/main/java/riotcmdx/csv2rdf.java b/jena-csv/src/main/java/riotcmdx/csv2rdf.java
index c105b35..35721b6 100644
--- a/jena-csv/src/main/java/riotcmdx/csv2rdf.java
+++ b/jena-csv/src/main/java/riotcmdx/csv2rdf.java
@@ -19,7 +19,6 @@
 package riotcmdx;
 
 import org.apache.jena.atlas.lib.Lib ;
-import org.apache.jena.atlas.web.ContentType ;
 import org.apache.jena.lang.csv.CSV2RDF;
 import org.apache.jena.riot.Lang ;
 import riotcmd.CmdLangParse ;
@@ -29,7 +28,7 @@ import riotcmd.CmdLangParse ;
  * with no intermediary Graph or PropertyTable.
  */
 public class csv2rdf extends CmdLangParse{
-	
+    
     public static void main(String... argv)
     {
         new csv2rdf(argv).mainRun() ;
@@ -39,14 +38,14 @@ public class csv2rdf extends CmdLangParse{
     {
         super(argv) ;
     }
-	
-	@Override
-	protected Lang selectLang(String filename, ContentType contentType, Lang dftLang) {
-		return CSV2RDF.CSV;
-	}
+    
+    @Override
+    protected Lang dftLang() {
+        return CSV2RDF.CSV;
+    }
 
-	@Override
-	protected String getCommandName() {
-		return Lib.classShortName(csv2rdf.class) ;
-	}
-}
+    @Override
+    protected String getCommandName() {
+        return Lib.classShortName(csv2rdf.class) ;
+    }
+}
\ No newline at end of file


Mime
View raw message