|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ldodds.foaf.thinlet.save.RDFExporter
This code is Public Domain
Constructor Summary | |
RDFExporter()
|
Method Summary | |
void |
end()
Indicates the end of an export process, allowing the exporter to write any final data to the output. |
void |
export(Document d)
Exports a document |
void |
export(Literal l)
Exports a literal |
void |
export(Person p)
Exports a person |
void |
export(Resource r)
Exports a resource |
void |
setOut(java.io.OutputStream out)
Set the stream into which objects should be exported. |
void |
start()
Indicates the start of an export process, allowing the exporter to write any initial data to the output (e.g. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RDFExporter()
Method Detail |
public void export(Person p) throws java.io.IOException
Exporter
export
in interface Exporter
public void export(Document d) throws java.io.IOException
Exporter
export
in interface Exporter
public void export(Literal l) throws java.io.IOException
Exporter
export
in interface Exporter
com.ldodds.foaf.thinlet.Exporter#export(Literal)
public void export(Resource r) throws java.io.IOException
Exporter
export
in interface Exporter
com.ldodds.foaf.thinlet.Exporter#export(Resource)
public void setOut(java.io.OutputStream out)
Exporter
Set the stream into which objects should be exported.
Provides the exporter with an OutputStream
into
which it should store the Exportable
objects its
asked to save.
An OutputStream is used rather than a Writer because the output format may be binary. However the Exporter is free to wrap this stream in a Writer for character based output, and equally may decide to add buffering for efficiency.
setOut
in interface Exporter
com.ldodds.foaf.thinlet.Exporter#setOut(OutputStream)
public void end() throws java.io.IOException
Exporter
end
in interface Exporter
com.ldodds.foaf.thinlet.Exporter#end()
public void start() throws java.io.IOException
Exporter
start
in interface Exporter
com.ldodds.foaf.thinlet.Exporter#start()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |