fcmodeler.io
Class AbstractGraphReader

java.lang.Object
  |
  +--fcmodeler.io.AbstractGraphReader
All Implemented Interfaces:
GraphReader
Direct Known Subclasses:
DotGraphReader, XMLGraphReader

public abstract class AbstractGraphReader
extends java.lang.Object
implements GraphReader

Since:
JDK1.3
Version:
$Revision: 1.1 $
Author:
Julie Dickerson , Zach Cox

Constructor Summary
AbstractGraphReader()
          Creates new AbstractGraphReader
 
Method Summary
abstract  void configure(FCModeler fcmodeler)
           
 boolean isReadingCoordinates()
           
 boolean isReadingMappings()
           
 boolean isReadingTopology()
           
 void readCoordinates(boolean read)
           
abstract  void readGraph(java.io.Reader reader)
          Reads the graph from the specified input source.
 void readMappings(boolean read)
           
 void readTopology(boolean read)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractGraphReader

public AbstractGraphReader()
Creates new AbstractGraphReader
Method Detail

configure

public abstract void configure(FCModeler fcmodeler)
Specified by:
configure in interface GraphReader

isReadingCoordinates

public boolean isReadingCoordinates()
Specified by:
isReadingCoordinates in interface GraphReader

isReadingMappings

public boolean isReadingMappings()
Specified by:
isReadingMappings in interface GraphReader

isReadingTopology

public boolean isReadingTopology()
Specified by:
isReadingTopology in interface GraphReader

readCoordinates

public void readCoordinates(boolean read)
Specified by:
readCoordinates in interface GraphReader

readGraph

public abstract void readGraph(java.io.Reader reader)
Reads the graph from the specified input source.
Specified by:
readGraph in interface GraphReader
Parameters:
reader - the input source containing the graph in text format.

readMappings

public void readMappings(boolean read)
Specified by:
readMappings in interface GraphReader

readTopology

public void readTopology(boolean read)
Specified by:
readTopology in interface GraphReader