Hi
could you point me to an example where I can find more information about how to parse a text file in Java and extracting a particular String or reg ex out of It.
Hi
could you point me to an example where I can find more information about how to parse a text file in Java and extracting a particular String or reg ex out of It.
Checkout Scanner for reading the text file: http://download-llnw.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/api/java/util/Scanner.html
Check out StringTokenizer for parsing strings: http://download.oracle.com/docs/cd/E17476_01/javase/1.4.2/docs/api/java/util/StringTokenizer.html
Checkout String's split method: http://cs.anu.edu.au/people/Clem.Baker-Finch/Java/docs/api/java/lang/String.html
Here is some examples, http://www.javapractices.com/topic/TopicAction.do?Id=42