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:
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?