How could I search for string in text file in java?
Would it have to be in a text file or could it read a .ini or some other file type
example
sound = off
opengl = on
openal = off
I tried searching for it on google but I couldnt really find anything.
Thanks in advance
There are tons of information with those typical of questions.
Here you have two easy examples:
In short it is easy to load a file into a
Propertiesobject, for example to obtain, in your case, thesoundvalue in aexample.propertiesfile: