src/main/java/org/jboss/util/property/PropertyMap.java
public void load(PropertyReader reader) throws PropertyException, IOException
   {
      if (reader == null)
         throw new NullArgumentException("reader");

      load(reader.readProperties());
   }
public void load(PropertyReader reader) throws PropertyException, IOException
   {
      if (reader == null)
         throw new NullArgumentException("reader");

      load(reader.readProperties());
   }
Load properties from a PropertyReader.

@param reader  PropertyReader to read properties from.
@throws PropertyException
@throws IOException