|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.igfay.util.PropertyUtility
Description of the Class
Constructor Summary | |
PropertyUtility()
Constructor for the PropertyUtility object |
Method Summary | |
static void |
addCommandLineProperties(java.lang.String[] args)
addCommandLineProperties: Add properties from -D flags on the command line. |
static void |
addPropertiesFromParameters(java.applet.Applet applet)
addPropertiesFromParameters Add properties from applet tags |
static java.lang.String |
getFileSeparator()
Gets the FileSeparator attribute of the Utility class |
static java.lang.String |
getHostName()
|
static java.lang.String |
getOSString()
|
static java.lang.String |
getProperty(java.lang.String propertyName)
getProperty() General utility to return the value of a given property. |
static java.lang.String |
getProperty(java.lang.String propertyName,
java.lang.String defaultValue)
getProperty General utility to return the value of a given property. |
static java.lang.String |
getShortHostName()
|
static boolean |
isNeedingWindowsFileSeparator(java.lang.String aDirectory)
|
static boolean |
isWindows()
|
static void |
listProperties()
listProperties List System Properties for debugging purposes. |
static void |
main(java.lang.String[] args)
|
static void |
processSelectedProperties()
Description of the Method |
static boolean |
propertyEquals(java.lang.String propertyName,
java.lang.String value)
propertyEquals |
static void |
replaceProperty(java.lang.String keyWord,
java.lang.String valueString)
replaceProperty replace a user passed string to the System Properties hashtable. |
static void |
setProperty(java.lang.String keyWord,
java.lang.String value)
Set a user passed string to the System Properties hashtable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PropertyUtility()
Method Detail |
public static void addCommandLineProperties(java.lang.String[] args)
args
- The feature to be added to the CommandLineProperties
attributepublic static void addPropertiesFromParameters(java.applet.Applet applet)
applet
- The feature to be added to the PropertiesFromParameters
attributepublic static void listProperties()
public static void processSelectedProperties()
public static boolean propertyEquals(java.lang.String propertyName, java.lang.String value)
propertyName
- Description of Parametervalue
- Description of Parameter
public static void replaceProperty(java.lang.String keyWord, java.lang.String valueString)
keyWord
- Description of ParametervalueString
- Description of Parameterpublic static java.lang.String getProperty(java.lang.String propertyName)
propertyName
- Description of Parameter
public static java.lang.String getProperty(java.lang.String propertyName, java.lang.String defaultValue)
propertyName
- Description of ParameterdefaultValue
- Description of Parameter
public static java.lang.String getHostName()
public static java.lang.String getOSString()
public static java.lang.String getShortHostName()
public static java.lang.String getFileSeparator()
public static boolean isNeedingWindowsFileSeparator(java.lang.String aDirectory)
public static boolean isWindows()
public static void setProperty(java.lang.String keyWord, java.lang.String value)
keyWord
- The new Property valuevalue
- The new Property valuepublic static void main(java.lang.String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |