org.apache.cactus.integration.ant.util
Class PropertySet
java.lang.Object
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 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertySet
public PropertySet()
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-2008 The Apache Software Foundation. All Rights Reserved.