public class FileSourceDGS extends FileSourceParser
The DGS file format is especially designed for storing dynamic graph definitions into a file. More information about the DGS file format will be found on the GraphStream web site: http://graphstream-project.org/
The usual file name extension used for this format is ".dgs".FileSource
SourceBase.ElementType
Constructor and Description |
---|
FileSourceDGS() |
Modifier and Type | Method and Description |
---|---|
ParserFactory |
getNewParserFactory()
Get a new parser factory.
|
boolean |
nextStep()
Since there is no step in DOT, this does the same action than
FileSourceParser.nextEvents() . |
begin, begin, begin, begin, end, nextEvents, readAll, readAll, readAll, readAll
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
addAttributeSink, addElementSink, addSink, clearAttributeSinks, clearElementSinks, clearSinks, removeAttributeSink, removeElementSink, removeSink
public ParserFactory getNewParserFactory()
FileSourceParser
getNewParserFactory
in class FileSourceParser
public boolean nextStep() throws java.io.IOException
FileSourceParser
FileSourceParser.nextEvents()
.nextStep
in interface FileSource
nextStep
in class FileSourceParser
java.io.IOException
- If an I/O error occurs while reading.