| org.ontoware.rdf2go.model.ModelIO
ModelIO | public interface ModelIO (Code) | | |
Method Summary | |
void | readFrom(Reader in) Read from Reader assuming in UTF8 encoding. | void | readFrom(Reader in, Syntax syntax) Reads assuming the given syntax. | void | readFrom(Reader in, Syntax syntax, URL baseURI) | void | readFrom(InputStream in) Read from InputStream assuming to read an RDF/XML stream. | void | readFrom(InputStream reader, Syntax syntax) Reads assuming the given syntax. | void | readFrom(InputStream reader, Syntax syntax, URL baseURI) | String | serialize(Syntax syntax) Convenience method to export a Model to a String in a given syntax. | void | writeTo(Writer out) | void | writeTo(Writer out, Syntax syntax) Write the model to the passed writer, using the passed syntax. | void | writeTo(OutputStream out) | void | writeTo(OutputStream out, Syntax syntax) Write the model to the passed writer, using the passed syntax. |
|
|