protected Properties getPropertiesUsingSystemProperty ( ) { /*log.fine("getPropertiesUsingSystemProperty: called");*/ // Get the path to the file from the system properties /*log.fine("getPropertiesResourceName() = " + getPropertiesResourceName());*/ String path = System . getProperty ( getPropertiesResourceName ( ) ) ; /*log.fine("properties resource name = " + getPropertiesResourceName());*/ /*log.fine("path = " + path);*/ // Use PropertiesHelper to try to load the properties from the path try { return PropertiesHelper . getProperties ( path ) ; } catch ( IOException e ) { /*log.fine("Could not load properties from path " + path);*/ // Failure of this method is noted, so exception is ignored. e = null ; } return null ; }
Tries to load the properties from the file or URL named by the system property with name mathching the properties resource name .