public class FileSinkGEXF2 extends PipeBase implements FileSink
SourceBase.ElementType
Constructor and Description |
---|
FileSinkGEXF2() |
Modifier and Type | Method and Description |
---|---|
void |
begin(java.io.OutputStream stream)
Begin the output of the given stream of graph events.
|
void |
begin(java.lang.String fileName)
Begin the output of the given stream of graph events.
|
void |
begin(java.io.Writer writer)
Begin the output of the given stream of graph events.
|
void |
end()
End the writing process started with
FileSink.begin(OutputStream) or
FileSink.begin(String) . |
void |
flush()
Ensure all data sent to the output are correctly written.
|
void |
writeAll(Graph graph,
java.io.OutputStream stream)
Write the current graph state in one big non-interruptible operation.
|
void |
writeAll(Graph graph,
java.lang.String fileName)
Write the current graph state in one big non-interruptible operation.
|
void |
writeAll(Graph graph,
java.io.Writer writer)
Write the current graph state in one big non-interruptible operation.
|
edgeAdded, edgeAttributeAdded, edgeAttributeChanged, edgeAttributeRemoved, edgeRemoved, graphAttributeAdded, graphAttributeChanged, graphAttributeRemoved, graphCleared, nodeAdded, nodeAttributeAdded, nodeAttributeChanged, nodeAttributeRemoved, nodeRemoved, stepBegins
addAttributeSink, addElementSink, addSink, attributeSinks, clearAttributeSinks, clearElementSinks, clearSinks, elementSinks, removeAttributeSink, removeElementSink, removeSink, sendAttributeChangedEvent, sendAttributeChangedEvent, sendEdgeAdded, sendEdgeAdded, sendEdgeAttributeAdded, sendEdgeAttributeAdded, sendEdgeAttributeChanged, sendEdgeAttributeChanged, sendEdgeAttributeRemoved, sendEdgeAttributeRemoved, sendEdgeRemoved, sendEdgeRemoved, sendGraphAttributeAdded, sendGraphAttributeAdded, sendGraphAttributeChanged, sendGraphAttributeChanged, sendGraphAttributeRemoved, sendGraphAttributeRemoved, sendGraphCleared, sendGraphCleared, sendNodeAdded, sendNodeAdded, sendNodeAttributeAdded, sendNodeAttributeAdded, sendNodeAttributeChanged, sendNodeAttributeChanged, sendNodeAttributeRemoved, sendNodeAttributeRemoved, sendNodeRemoved, sendNodeRemoved, sendStepBegins, sendStepBegins
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
edgeAttributeAdded, edgeAttributeChanged, edgeAttributeRemoved, graphAttributeAdded, graphAttributeChanged, graphAttributeRemoved, nodeAttributeAdded, nodeAttributeChanged, nodeAttributeRemoved
edgeAdded, edgeRemoved, graphCleared, nodeAdded, nodeRemoved, stepBegins
addAttributeSink, addElementSink, addSink, clearAttributeSinks, clearElementSinks, clearSinks, removeAttributeSink, removeElementSink, removeSink
public void writeAll(Graph graph, java.lang.String fileName) throws java.io.IOException
FileSink
FileSink.begin(OutputStream)
or FileSink.begin(String)
as soon as the
graph appears (or any source of graph event, any descendant of Source
will do).public void writeAll(Graph graph, java.io.OutputStream stream) throws java.io.IOException
FileSink
FileSink.begin(Writer)
or FileSink.begin(OutputStream)
or
FileSink.begin(String)
as soon as the graph appears (or any source of graph
event, any descendant of Source
will do).public void writeAll(Graph graph, java.io.Writer writer) throws java.io.IOException
FileSink
FileSink.begin(Writer)
or FileSink.begin(OutputStream)
or
FileSink.begin(String)
as soon as the graph appears (or any source of graph
event, any descendant of Source
will do).public void begin(java.lang.String fileName) throws java.io.IOException
FileSink
Source
or you can directly use
the methods inherited from Sink
. Once the writing is started using
begin(), you must close it using FileSink.end()
when done to ensure data is
correctly stored in the file.public void begin(java.io.OutputStream stream) throws java.io.IOException
FileSink
Source
or you can directly use
the methods inherited from Sink
. Once the writing is started using
begin(), you must close it using FileSink.end()
when done to ensure data is
correctly stored in the file.public void begin(java.io.Writer writer) throws java.io.IOException
FileSink
Source
or you can directly use
the methods inherited from Sink
. Once the writing is started using
begin(), you must close it using FileSink.end()
when done to ensure data is
correctly stored in the file.public void flush() throws java.io.IOException
FileSink
public void end() throws java.io.IOException
FileSink
FileSink.begin(OutputStream)
or
FileSink.begin(String)
.