org.openrdf.sesame.export
Class RdfExport
java.lang.Object
org.openrdf.sesame.export.RdfExport
- public class RdfExport
- extends Object
|
Constructor Summary |
RdfExport()
Creates a new RdfExport that can extract data from a Sail and export
it as RDF. |
|
Method Summary |
void |
exportRdf(RdfSchemaSource rss,
RdfDocumentWriter rdfDocWriter,
boolean exportOnto,
boolean exportData,
boolean explicitOnly,
boolean niceOutput)
Reads statements from the supplied RdfSchemaSource and reports these to
the supplied RdfDocumentWriter. |
void |
exportRdf(RdfSource rs,
RdfDocumentWriter rdfDocWriter,
boolean niceOutput)
Reads statements from the supplied RdfSource and reports these to the
supplied RdfDocumentWriter. |
RdfExport
public RdfExport()
- Creates a new RdfExport that can extract data from a Sail and export
it as RDF.
exportRdf
public void exportRdf(RdfSource rs,
RdfDocumentWriter rdfDocWriter,
boolean niceOutput)
throws IOException
- Reads statements from the supplied RdfSource and reports these to the
supplied RdfDocumentWriter.
- Parameters:
rs - The RdfSource from which to extract the statements.rdfDocWriter - The RdfDocumentWriter that will be used to write
the RDF document.niceOutput - If true, extra effort will be invested into making
the exported data more readable to humans (e.g. by sorting statements
by their subject).
- Throws:
IOException
exportRdf
public void exportRdf(RdfSchemaSource rss,
RdfDocumentWriter rdfDocWriter,
boolean exportOnto,
boolean exportData,
boolean explicitOnly,
boolean niceOutput)
throws IOException
- Reads statements from the supplied RdfSchemaSource and reports these to
the supplied RdfDocumentWriter.
- Parameters:
rss - The RdfSchemaSource from which to extract the statements.rdfDocWriter - The RdfDocumentWriter that will be used to write
the RDF document.exportOnto - If true, statements defining classes and properties
will be exported.exportData - If true, statements not defining classes and properties
will be exported.explicitOnly - If true, only explicit statements will be exported.niceOutput - If true, extra effort will be invested into making
the exported data more readable to humans (e.g. by sorting statements
by their subject).
- Throws:
IOException
Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.