mascoptLib.io.graph
Class NetReader

java.lang.Object
  extended bymascoptLib.io.graph.NetReader
All Implemented Interfaces:
ReaderInterface
Direct Known Subclasses:
PathNetReader

public class NetReader
extends Object
implements ReaderInterface

Reads a net file.

Version:
Fri Feb 15 10:11:15 2002
Author:
bbongiov@bing.inria.fr

Constructor Summary
NetReader(String fileIn)
          Creates a reader on an NET file.
NetReader(String fileIn, boolean mirrorArc, boolean mirrorRequest)
          Creates a reader on an MGL file validating the DTD or not.
 
Method Summary
 Iterator getAbstractChains()
          Deprecated. Please now use getAbstractPaths()
 Iterator getAbstractEdges()
          Gives an iterator on AbstractEdges read.
 Iterator getAbstractEdgeSets()
          Gives an iterator on AbstractEdgeSets read.
 Iterator getAbstractGraphs()
          Gives an iterator on AbstractGraphs read.
 Iterator getAbstractNodes()
          Deprecated. Please now use getAbstractVertices()
 Iterator getAbstractNodeSets()
          Deprecated. Please now use getAbstractVertexSets()
 Iterator getAbstractPaths()
          Gives an iterator on AbstractPaths read.
 Iterator getAbstractVertexSets()
          Gives an iterator on AbstractVertexSets read.
 Iterator getAbstractVertices()
          Gives an iterator on AbstractVertex read.
 Iterator getAllObjects()
          Gives an iterator on other objects.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetReader

public NetReader(String fileIn)
Creates a reader on an NET file.


NetReader

public NetReader(String fileIn,
                 boolean mirrorArc,
                 boolean mirrorRequest)
Creates a reader on an MGL file validating the DTD or not.

Parameters:
mirrorArc - say if arcs have to be mirrored.
mirrorRequest - say if requests have to be mirrored.
Method Detail

getAbstractNodes

public Iterator getAbstractNodes()
Deprecated. Please now use getAbstractVertices()

See Also:
getAbstractVertices()

getAbstractVertices

public Iterator getAbstractVertices()
Description copied from interface: ReaderInterface
Gives an iterator on AbstractVertex read.

Specified by:
getAbstractVertices in interface ReaderInterface
Returns:
an iterator.

getAbstractEdges

public Iterator getAbstractEdges()
Description copied from interface: ReaderInterface
Gives an iterator on AbstractEdges read.

Specified by:
getAbstractEdges in interface ReaderInterface
Returns:
an iterator.

getAbstractNodeSets

public Iterator getAbstractNodeSets()
Deprecated. Please now use getAbstractVertexSets()

See Also:
getAbstractVertexSets()

getAbstractVertexSets

public Iterator getAbstractVertexSets()
Description copied from interface: ReaderInterface
Gives an iterator on AbstractVertexSets read.

Specified by:
getAbstractVertexSets in interface ReaderInterface
Returns:
an iterator.

getAbstractEdgeSets

public Iterator getAbstractEdgeSets()
Description copied from interface: ReaderInterface
Gives an iterator on AbstractEdgeSets read.

Specified by:
getAbstractEdgeSets in interface ReaderInterface
Returns:
an iterator.

getAbstractChains

public Iterator getAbstractChains()
Deprecated. Please now use getAbstractPaths()

See Also:
getAbstractPaths()

getAbstractPaths

public Iterator getAbstractPaths()
Description copied from interface: ReaderInterface
Gives an iterator on AbstractPaths read.

Specified by:
getAbstractPaths in interface ReaderInterface
Returns:
an iterator.

getAbstractGraphs

public Iterator getAbstractGraphs()
Description copied from interface: ReaderInterface
Gives an iterator on AbstractGraphs read.

Specified by:
getAbstractGraphs in interface ReaderInterface
Returns:
an iterator.

getAllObjects

public Iterator getAllObjects()
Description copied from interface: ReaderInterface
Gives an iterator on other objects. We can imagine that some reader and writer implements the store of some special objects. This method provides a way to get this object via a generic method.

Specified by:
getAllObjects in interface ReaderInterface
Returns:
an iterator.