infosapient.util
Class SystemProperties

java.lang.Object
  |
  +--infosapient.util.SystemProperties

public class SystemProperties
extends java.lang.Object

It is responsible for loading and returning a Properties object that has the properties needed for this application.


Field Summary
private  java.util.Properties _properties
           
private  java.lang.String propFile
           
private  java.lang.String urlDir
           
 
Constructor Summary
SystemProperties()
          SystemProperties constructor comment.
SystemProperties(java.lang.String properties)
          SystemProperties constructor comment.
 
Method Summary
 java.util.Properties instance()
          This method returns the Properties or loads it if required.
private  void loadProperties()
          Loads the properties object either from a resource file or a url
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

_properties

private java.util.Properties _properties

propFile

private java.lang.String propFile

urlDir

private java.lang.String urlDir
Constructor Detail

SystemProperties

public SystemProperties()
SystemProperties constructor comment.

SystemProperties

public SystemProperties(java.lang.String properties)
SystemProperties constructor comment.
Method Detail

instance

public java.util.Properties instance()
This method returns the Properties or loads it if required.
Returns:
java.util.Properties

loadProperties

private void loadProperties()
Loads the properties object either from a resource file or a url

License to use this program is provided under the TERMS OF THE COMMON PUBLIC LICENSE 0.5. ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

Copyright (c) 2001, Workplace Performance Tools, All Rights Reserved