base/common/src/main/com/thesett/common/properties/PropertyReaderBase.java
protected Properties getPropertiesUsingClasspath()
    {
        /*log.fine("getPropertiesUsingClasspath: called");*/

        // Try to open the properties resource name as an input stream from the classpath
        InputStream is = this.getClass().getClassLoader().getResourceAsStream(getPropertiesResourceName());

        // Use PropertiesHelper to try to load the properties from the input stream if one was succesfully created
        if (is != null)
        {
            try
            {
                return PropertiesHelper.getProperties(is);
            }
            catch (IOException e)
            {
                /*log.fine("Could not load properties from classpath");*/

                // Failure of this method is noted, so exception is ignored.
                e = null;
            }
        }

        return null;
    }
protected Properties getPropertiesUsingClasspath()
    {
        /*log.fine("getPropertiesUsingClasspath: called");*/

        // Try to open the properties resource name as an input stream from the classpath
        InputStream is = this.getClass().getClassLoader().getResourceAsStream(getPropertiesResourceName());

        // Use PropertiesHelper to try to load the properties from the input stream if one was succesfully created
        if (is != null)
        {
            try
            {
                return PropertiesHelper.getProperties(is);
            }
            catch (IOException e)
            {
                /*log.fine("Could not load properties from classpath");*/

                // Failure of this method is noted, so exception is ignored.
                e = null;
            }
        }

        return null;
    }
Tries to load the properties from the classpath using the classloader for this class.

@return The properties loaded from the resource name under the classpath or null if none can be found there.