|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ModelIO
| Method Summary | |
|---|---|
void |
readFrom(java.io.InputStream in)
Read from InputStream assuming to read an RDF/XML stream. |
void |
readFrom(java.io.InputStream reader,
Syntax syntax)
Reads assuming the given syntax. |
void |
readFrom(java.io.InputStream in,
Syntax syntax,
java.lang.String baseURI)
Reads RDF data from the given InputStream in the given Syntax. |
void |
readFrom(java.io.Reader in)
Read from Reader assuming in UTF8 encoding. |
void |
readFrom(java.io.Reader in,
Syntax syntax)
Reads assuming the given syntax. |
void |
readFrom(java.io.Reader in,
Syntax syntax,
java.lang.String baseURI)
Reads RDF data from the given Reader in the given Syntax. |
java.lang.String |
serialize(Syntax syntax)
Convenience method to export a Model to a String in a given syntax. |
void |
writeTo(java.io.OutputStream out)
Writing an RDF/XML stream in UTF8 encoding |
void |
writeTo(java.io.OutputStream out,
Syntax syntax)
Write the model to the passed writer, using the passed syntax. |
void |
writeTo(java.io.Writer out)
Writing an RDF/XML stream in UTF8 encoding |
void |
writeTo(java.io.Writer out,
Syntax syntax)
Write the model to the passed writer, using the passed syntax. |
| Method Detail |
|---|
void readFrom(java.io.Reader in)
throws java.io.IOException,
ModelRuntimeException
in - the input to read
java.io.IOException - on IOErrors
ModelRuntimeException - on RDF serialization errors or model errors
void readFrom(java.io.Reader in,
Syntax syntax)
throws java.io.IOException,
ModelRuntimeException
in - the input to readsyntax - syntax to use
java.io.IOException - on IOErrors
ModelRuntimeException - on RDF serialization errors or model errors
void readFrom(java.io.Reader in,
Syntax syntax,
java.lang.String baseURI)
throws java.io.IOException,
ModelRuntimeException
Reader in the given Syntax.
The baseURI is used to dereference URIs with the syntax ":name".
in - syntax - baseURI -
java.io.IOException
ModelRuntimeException
void readFrom(java.io.InputStream in)
throws java.io.IOException,
ModelRuntimeException
in - the input to read
java.io.IOException - on IOErrors
ModelRuntimeException - on RDF serialization errors or model errors
void readFrom(java.io.InputStream reader,
Syntax syntax)
throws java.io.IOException,
ModelRuntimeException
in - the input to readsyntax - syntax to use
java.io.IOException - on IOErrors
ModelRuntimeException - on RDF serialization errors or model errors
void readFrom(java.io.InputStream in,
Syntax syntax,
java.lang.String baseURI)
throws java.io.IOException,
ModelRuntimeException
InputStream in the given Syntax.
The baseURI is used to dereference URIs with the syntax ":name".
in - syntax - baseURI -
java.io.IOException
ModelRuntimeException
void writeTo(java.io.Writer out)
throws java.io.IOException,
ModelRuntimeException
out - the output to write to
java.io.IOException - on IOErrors
ModelRuntimeException - on RDF serialization errors or model errors
void writeTo(java.io.Writer out,
Syntax syntax)
throws java.io.IOException,
ModelRuntimeException
out - the output to write tosyntax - syntax to use
java.io.IOException - on IOErrors
ModelRuntimeException - on RDF serialization errors or model errors
void writeTo(java.io.OutputStream out)
throws java.io.IOException,
ModelRuntimeException
out - the output to write to
java.io.IOException - on IOErrors
ModelRuntimeException - on RDF serialization errors or model errors
void writeTo(java.io.OutputStream out,
Syntax syntax)
throws java.io.IOException,
ModelRuntimeException
out - the output to write tosyntax - syntax to use
java.io.IOException - on IOErrors
ModelRuntimeException - on RDF serialization errors or model errors
java.lang.String serialize(Syntax syntax)
throws SyntaxNotSupportedException
syntax -
SyntaxNotSupportedException - if the syntax is not supported
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||