org.codehaus.cargo.ant
Class PropertySet

java.lang.Object
  extended by org.codehaus.cargo.ant.PropertySet

public class PropertySet
extends java.lang.Object

Ant element used to tell the Cargo task to load a properties file containing system properties. Note: When we switch to Ant 1.6 we will be able to replace this by Ant 1.6 PropertySet

Version:
$Id: PropertySet.java 1702 2008-09-02 12:37:46Z adriana $

Constructor Summary
PropertySet()
           
 
Method Summary
 java.util.ResourceBundle readProperties()
           
 void setFile(java.io.File propertiesFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertySet

public PropertySet()
Method Detail

setFile

public void setFile(java.io.File propertiesFile)
Parameters:
propertiesFile - the properties file to load

readProperties

public java.util.ResourceBundle readProperties()
Returns:
the properties loaded from the properties file


Copyright © 2004-2011 Codehaus. All Rights Reserved.