org.sourceforge.ifx.tools
Class PropertyFile

java.lang.Object
  extended byorg.sourceforge.ifx.tools.PropertyFile

public class PropertyFile
extends java.lang.Object

Models a Java properties file to collect information about the element and bean mappings.

Version:
$Revision: 1.1 $
Author:
Sujit Pal (spal@users.sourceforge.net)

Constructor Summary
PropertyFile()
          Default constructor.
 
Method Summary
 void addProperty(java.lang.String name, java.lang.String value)
          Add a property to the propertyfile list.
 java.util.List getPropertyList()
          Return a list of property name value pairs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyFile

public PropertyFile()
Default constructor.

Method Detail

addProperty

public void addProperty(java.lang.String name,
                        java.lang.String value)
Add a property to the propertyfile list.

Parameters:
name - the name part of the property name-value pair.
value - teh value part of the property name-value pair.

getPropertyList

public java.util.List getPropertyList()
Return a list of property name value pairs.

Returns:
a list of property name-value pairs.