Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## uchicago.src.sim.network
Class DlFormatter

    java.lang.Object
      uchicago.src.sim.network.DlFormatter

All Implemented Interfaces:
  NetworkMatrixFormatter

    public class DlFormatter

extends java.lang.Object
implements NetworkMatrixFormatter

Formats AdjacencyMatrices into dl format.

Version:
  $Revision: 1.3 $ $Date: 2004/11/03 19:51:01 $
Author:
  Nick Collier

Constructor Summary
`DlFormatter()`

Method Summary
`void` | `format(java.util.List matrixLabels, java.util.Vector matrices, java.lang.String comment)` Formats the specified list of matrix labels, matrices and comments.
`java.lang.String` | `getHeader()` Gets the dl header created by format(...).
`java.util.Vector` | `getMatrices()` Gets the matrices in dl format (a vector of formatted Strings).

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DlFormatter

    public DlFormatter()

Method Detail

### format

    public void format(java.util.List matrixLabels,
                       java.util.Vector matrices,
                       java.lang.String comment)

  Formats the specified list of matrix labels, matrices and comments. Subsequent calls to getHeader and getMatrices will return the results of this formatting.

  Specified by:
    `format` in interface `NetworkMatrixFormatter`
  Parameters:
    `matrixLabels` - the matrix labels
    `matrices` - a Vector of AdjacencyMatrices
    `comment` - a comment

### getHeader

    public java.lang.String getHeader()

  Gets the dl header created by format(...).

  Specified by:
    `getHeader` in interface `NetworkMatrixFormatter`

### getMatrices

    public java.util.Vector getMatrices()

  Gets the matrices in dl format (a vector of formatted Strings).

  Specified by:
    `getMatrices` in interface `NetworkMatrixFormatter`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD