mercredi 25 mars 2015

replace String with value of properties file in java

I have a code to replace stream of string. I need to search a specific string that is defined in the key of properties file



listToken.get(i).replace(listToken.get(i), propertiesSlang.getProperty(key));


But it doesn't replace word. How I can replace words using properties.


Aucun commentaire:

Enregistrer un commentaire