I have a text file with the following form:
d 6 1000
w 4 600
I setted this file as input file in my java project. Now, how can make java read as a variable:
1. The number in the first line
2. And in the other lines, three different variables: 1. The first letter 2. the second number 3. the third number (they are seoarated with space)
Please help me!