Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.visual.mappings.discrete
Class DiscreteMappingReader

java.lang.Object
  extended by cytoscape.visual.mappings.discrete.DiscreteMappingReader

public class DiscreteMappingReader
extends Object

Reads in DiscreteMapping Properties. Unit Test for this class exists in: cytoscape.visual.mappings.discrete.unitTests.TestDiscreteMappingReader.


Constructor Summary
DiscreteMappingReader(Properties props, String baseKey, ValueParser parser)
          Constructor.
 
Method Summary
 String getControllingAttributeName()
          Gets Controlling Attribute Name.
 TreeMap getMap()
          Gets the Discrete Map.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscreteMappingReader

public DiscreteMappingReader(Properties props,
                             String baseKey,
                             ValueParser parser)
Constructor.

Parameters:
props - Properties Object.
baseKey - Base Property Key.
parser - ValueParser Object.
Method Detail

getControllingAttributeName

public String getControllingAttributeName()
Gets Controlling Attribute Name.

Returns:
Controlling Attribute Name.

getMap

public TreeMap getMap()
Gets the Discrete Map.

Returns:
TreeMap Object.

www.cytoscape.org