| java.lang.Object com.hp.hpl.jena.rdf.arp.NTriple
NTriple | public class NTriple implements ARPErrorNumbers(Code) | | A command line interface into ARP.
Creates NTriple's or just error messages.
java <class-path> com.hp.hpl.jena.arp.NTriple ( [ -[xstfurR]][ -b xmlBase -[eiw] NNN[,NNN...] ] [ file ] [ url ] )...
All options, files and URLs can be intemingled in any order.
They are processed from left-to-right.
file - Converts RDF/XML file into N-triples
-
url
- Converts RDF/XML from URL into N-triples
-
-b uri
- Sets XML Base to the absolute URI.
-
-r
- Content is RDF (default, no embedding, rdf:RDF tag may be omitted).
-
-R
- RDF embedded in XML document, search for obligatory rdf:RDF start element.
-
-t
- No n-triple output, error checking only.
-
-x
- Lax mode - warnings are suppressed.
-
-s
- Strict mode - most warnings are errors.
-
-u
- Allow unqualified attributes (defaults to warning).
-
-f
- All errors are fatal - report first one only.
-
-n
- Show line numbers of each triple.
-
-b url
- Sets XML Base to the absolute url.
-
-e NNN[,NNN...]
-
Treats numbered warning conditions as errrors.
-
-w NNN[,NNN...]
-
Treats numbered error conditions as warnings.
-
-i NNN[,NNN...]
-
Ignores numbered error/warning conditions.
author: jjc |
main | public static void main(String args)(Code) | | Starts an RDF/XML to NTriple converter.
Parameters: args - The command-line arguments. |
mainEh | public static void mainEh(String args, ErrorHandler eh, ARPEventHandler ap)(Code) | | Starts an RDF/XML to NTriple converter,
using an error handler, and an ARPHandler.
Statements get processed both by this class,
and by the passed in StatementHandler
Parameters: args - The command-line arguments. Parameters: eh - Can be null. Parameters: ap - Can be null. |
usage | static void usage()(Code) | | |
|
|