Creating Properties object in Java

java.util.Properties inherits put method from java.util.HashTable, thus your key would be "[%1]" and "[%2]" in your case.

HashTable.put()

public V put(K key,
    V value)

Leave a Comment