base/common/src/main/com/thesett/common/properties/PropertyReaderBase.java
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;
    }
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;
    }
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.

@return The properties found under the file name or URL or null if none can be found there.
Tries to load the properties from the file or URL named by the system property with name mathching the properties resource name .