com.dtolabs.client.utils
Class PropertyMap

java.lang.Object
  extended by com.dtolabs.client.utils.PropertyMap

public class PropertyMap
extends java.lang.Object

takes a property file name as input and manufactures a Map object via HashMap


Constructor Summary
PropertyMap(java.lang.String propertyFile)
           
 
Method Summary
 java.lang.String get(java.lang.String key)
          return a key's value within the map
 java.util.Map toMap()
          return the map of the propertyfile input
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyMap

public PropertyMap(java.lang.String propertyFile)
            throws java.io.IOException
Throws:
java.io.IOException
Method Detail

toMap

public java.util.Map toMap()
return the map of the propertyfile input


get

public java.lang.String get(java.lang.String key)
return a key's value within the map