code: public static Properties createPropertiesFromResource(Class<?> classObj,
              String resourceName) throws IOException {
          Properties result = new Properties();
          readPropertiesFromResource(result, classObj, resourceName);
          return result;
      }
docs: Creates a <code>Properties</code> objects and loads the data in the given
  resource, using the given class' <code>getResourceAsStream</code> method.
  
  @param classObj the {@link Class} whose <code>getResourceAsStream</code>
  method is called, cannot be <code>null</code>.
  @param resourceName a resource {@link String}, visible * * from
  <code>classObj</code>'s class loader. If <code>null</code>, this methods
  returns an empty {@link Properties} object.
  @return a <code>Properties</code> object.
  @throws IOException