nationavon
MIS
I am writing an application that needs to read a config file. I understand how to read the file using File, FileReader, and BufferedReader. My config file contains information in the following format:
user = aaron
What would be the best way to get the value of user? I have considered using tokenizer to split on the spaces. I just wanted to be sure this was standard practice in java. If there is a package that will process a config file information would be greatly appreciated.
Nathan
user = aaron
What would be the best way to get the value of user? I have considered using tokenizer to split on the spaces. I just wanted to be sure this was standard practice in java. If there is a package that will process a config file information would be greatly appreciated.
Nathan