jena
Class rdfcopy
java.lang.Object
jena.rdfcopy
public class rdfcopy
- extends Object
A program which read an RDF model and copy it to the standard output stream.
This program will read an RDF model, in a variety of languages,
and copy it to the output stream in a possibly different langauge.
Input can be read either from a URL or from a file.
The program writes its results to the standard output stream and sets
its exit code to 0 if the program terminate normally, and
to -1 if it encounters an error.
java jena.rdfcopy model [inlang [outlang]]
model1 and model2 can be file names or URL's
inlang and outlang specify the language of the input and output
respectively and can be:
RDF/XML
N-TRIPLE
TURTLE
N3
The input language defaults to RDF/XML and the output language
defaults to N-TRIPLE.
- Version:
- $Name: not supported by cvs2svn $ $Revision: 1.1 $ $Date: 2009-06-29 08:55:51 $
- Author:
- bwm
rdfcopy
public rdfcopy()
main
public static void main(String[] args)
- Parameters:
args
- the command line arguments
Licenced under the Apache License, Version 2.0