I have a question about the scanner, please, I work for a small company; we have software; It generates a large text file; and we should get useful information from him; I want to write a simple application with java to save time; could you guide me?
for example, I want this conclusion;
Exit
RFID: 25 BLUID: 562 WifiID: 2610 RFID: 33
RFID Count: 2
and, for example, this is my text file, because each generated file with our software has 14,000 lines :)
I am testing it with this source code, but I cannot process it,
Scanner scanner = new Scanner("i:\1.txt"); scanner.findInLine("RFID="); if (scanner.hasNext()) System.out.println(scanner.next()); else System.out.println("Error!");
please help me;
Thank you so much...
java java.util.scanner
Freeman Jan 17 '10 at 8:20 2010-01-17 08:20
source share