org.graphstream.stream.file
Class FileSourceDOT

java.lang.Object
  extended by org.graphstream.stream.SourceBase
      extended by org.graphstream.stream.file.FileSourceParser
          extended by org.graphstream.stream.file.FileSourceDOT
All Implemented Interfaces:
FileSource, Source

public class FileSourceDOT
extends FileSourceParser

Graph reader for GraphViz "dot" files. In this format, edges have no identifier. By default an automatic identifier is added to each edge. You can add an identifier to an edge by adding an "id" attribute to the edge. For example :

 A -- B [ id=AB ];
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.graphstream.stream.SourceBase
SourceBase.ElementType
 
Constructor Summary
FileSourceDOT()
           
 
Method Summary
 ParserFactory getNewParserFactory()
          Get a new parser factory.
 
Methods inherited from class org.graphstream.stream.file.FileSourceParser
begin, begin, begin, begin, end, nextEvents, nextStep, readAll, readAll, readAll, readAll
 
Methods inherited from class org.graphstream.stream.SourceBase
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.graphstream.stream.Source
addAttributeSink, addElementSink, addSink, clearAttributeSinks, clearElementSinks, clearSinks, removeAttributeSink, removeElementSink, removeSink
 

Constructor Detail

FileSourceDOT

public FileSourceDOT()
Method Detail

getNewParserFactory

public ParserFactory getNewParserFactory()
Description copied from class: FileSourceParser
Get a new parser factory.

Specified by:
getNewParserFactory in class FileSourceParser
Returns:
a parser factory


Copyright © 2012. All Rights Reserved.