| java.lang.Object org.antmod.conf.AntmodProperties
AntmodProperties | final public class AntmodProperties (Code) | | Accesses the proper set of Antmod properties, reading
all default and user specific config files in the proper order.
author: Klaas Waslander |
Method Summary | |
public static boolean | getBoolean(String propertyName) | public static String | getProperty(String propertyName) Get the property with the given name, first checking user specific properties,
and then the globally defined default property values.
Parameters: propertyName - The name of the antmod property to retrieve. | public static Iterator | getPropertyNamesStartingWith(String startOfPropertyName) Get all property names starting with the given string. | public static void | loadIntoAnt(Project antProject) Load the antmod configuration properties into the given ant project. |
getBoolean | public static boolean getBoolean(String propertyName)(Code) | | |
getProperty | public static String getProperty(String propertyName)(Code) | | Get the property with the given name, first checking user specific properties,
and then the globally defined default property values.
Parameters: propertyName - The name of the antmod property to retrieve. The value of the property if set. |
getPropertyNamesStartingWith | public static Iterator getPropertyNamesStartingWith(String startOfPropertyName)(Code) | | Get all property names starting with the given string.
Parameters: startOfPropertyName - The string that each property name should start with, case sensitive! An iterator with String objects, being the property names that are valid. |
loadIntoAnt | public static void loadIntoAnt(Project antProject)(Code) | | Load the antmod configuration properties into the given ant project.
Parameters: antProject - The Ant project into which the config is to be loaded |
|
|