code: public static Parameters fromProperties(Properties properties) {
      final ImmutableMap.Builder<String, String> ret = ImmutableMap.builder();
      for (final Map.Entry<Object, Object> property : properties.entrySet()) {
        ret.put(property.getKey().toString(), property.getValue().toString());
      }
      return fromMap(ret.build());
    }
docs: Creates a {@code Parameters} from a {@link java.util.Properties} by turning each key and value
  in the {@code Properties} into a string. If multiple keys in the properties object have the
  same string representation or if any key or value is null, an {@link
  java.lang.IllegalArgumentException} or {@link java.lang.NullPointerException} will be thrown.