if my text file contains a string and integer in each line say,: aaa 200 bbb 500 ccc 400
i need a java code to update the integer value if my input String matches with the string in file. please help me in developing this code which is part of my project.