code: public Properties getProperties() {
          Properties p = new Properties();
          for (Iterator i = getKeys(); i.hasNext();) {
              String name = (String) i.next();
              String value = getString(name);
              p.put(name, value);
          }
          return p;
      }
docs: Utility method to get a Properties object from this Configuration