| |
|
| java.lang.Object org.igfay.util.PropertyUtility
PropertyUtility | public class PropertyUtility (Code) | | Description of the Class
author: bconrad |
PropertyUtility | public PropertyUtility()(Code) | | Constructor for the PropertyUtility object
|
addCommandLineProperties | public static void addCommandLineProperties(String[] args)(Code) | | addCommandLineProperties: Add properties from -D flags on the command
line.
Parameters: args - The feature to be added to the CommandLinePropertiesattribute |
addPropertiesFromParameters | public static void addPropertiesFromParameters(java.applet.Applet applet)(Code) | | addPropertiesFromParameters Add properties from applet tags
Parameters: applet - The feature to be added to the PropertiesFromParametersattribute |
getFileSeparator | public static String getFileSeparator()(Code) | | Gets the FileSeparator attribute of the Utility class
The FileSeparator value |
getProperty | public static String getProperty(String propertyName)(Code) | | getProperty() General utility to return the value of a given property.
Returns null if not found.
Parameters: propertyName - Description of Parameter The Property value |
getProperty | public static String getProperty(String propertyName, String defaultValue)(Code) | | getProperty General utility to return the value of a given property.
Returns default value if not found.
Parameters: propertyName - Description of Parameter Parameters: defaultValue - Description of Parameter The Property value |
getShortHostName | public static String getShortHostName()(Code) | | |
isNeedingWindowsFileSeparator | public static boolean isNeedingWindowsFileSeparator(String aDirectory)(Code) | | |
isWindows | public static boolean isWindows()(Code) | | |
listProperties | public static void listProperties()(Code) | | listProperties List System Properties for debugging purposes.
|
processSelectedProperties | public static void processSelectedProperties()(Code) | | Description of the Method
|
propertyEquals | public static boolean propertyEquals(String propertyName, String value)(Code) | | propertyEquals
Parameters: propertyName - Description of Parameter Parameters: value - Description of Parameter Description of the Returned Value |
replaceProperty | public static void replaceProperty(String keyWord, String valueString)(Code) | | replaceProperty replace a user passed string to the System Properties
hashtable.
Parameters: keyWord - Description of Parameter Parameters: valueString - Description of Parameter |
setProperty | public static void setProperty(String keyWord, String value)(Code) | | Set a user passed string to the System Properties hashtable.
Parameters: keyWord - The new Property value Parameters: value - The new Property value |
|
|
|