I read the next answer about load file into java application.
I need to write a program that load .txt, which contains a list of records. After I parse it, I need to match the records (with conditions that I will check), and save the result to XML's file.
I am stuck on this issue, and I will happy for answer to next questions:
- How I load the .txt file into Java?
- After I load the file, how I can acsses to the information into it? for example, How I can asked if the first line of one of the records is equal to "1";
- How I export the result to XML's file.