Hello!
I need to read from a txt file ip:port (or in some lines ip:portDdateCinteger). But i can not do it because there is no nextChar method on Scanner class.
The txt file is like this:
332.234.32.11.11.222:8080
123.32.45.43.32.11:8976D12.01.2010C5
44.44.111.114.44.43:220
222.333.44.55.66.77:8089
111.11.11.11.22.33:8080D01.01.2009C1
...
There are million line on txt file. I need to read one by one from my Java program by reading ip, port, if exist date and check number.
This program must work multi-platform. Thats why i get the end of line string with System.getProperty("line.separator") method.
Can someone help me please?
Thank you!