org.apache.cactus.integration.ant.util
Class PropertySet

java.lang.Object
  extended by org.apache.cactus.integration.ant.util.PropertySet

public class PropertySet
extends java.lang.Object

Ant element used to tell the Cactus task to load a properties file and passed its properties to the client side or server side JVMs.

Version:
$Id: PropertySet.java 238812 2004-02-29 10:21:34Z vmassol $

Constructor Summary
PropertySet()
           
 
Method Summary
 boolean isServer()
           
 java.util.ResourceBundle readProperties()
           
 void setPropertiesFile(java.io.File thePropertiesFile)
           
 void setServer(boolean isServer)
           
 
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

setPropertiesFile

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

setServer

public void setServer(boolean isServer)
Parameters:
isServer - if true the properties will be passed to the Cactus server side JVM

isServer

public boolean isServer()
Returns:
true if the properties are to be passed to the Cactus server side JVM, false otherwise

readProperties

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


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.