Parsing a text file or other data stream
Using the built-in wrapper classes such as Integer and Double with their methods parseInt(String) and parseDouble(String) is considered a trivial use. An input data stream, such as from a file, the keyboard or a network, which consists of character bytes representing text, should be split into separate components in some way. The use of String.split() or java.util.StringTokenizer is acceptable. The components must then be recognised as belonging to a particular set, each with a particular processing requirement. Taking lines from a text file in csv or similar formats and creating record-style object instances is an acceptable use. In this type conversion using Integer.parseInt() etc is fine. The formats and the process of interpretation must be discussed in the data structures and algorithms of stage B.
https://retrosnob.files.wordpress.com/2011/11/subject-report-may-2006.pdf
Thanks Blanca.