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.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Checkout Scanner for reading the text file:
http://docs.oracle.com/javase/7/docs/api/java/util/Scanner.html
Check out StringTokenizer for parsing strings:
http://docs.oracle.com/javase/7/docs/api/java/util/StringTokenizer.html
Checkout String’s split method:
http://docs.oracle.com/javase/6/docs/api/java/lang/String.html
Here is some examples,
http://www.javapractices.com/topic/TopicAction.do?Id=42