Computer Science Canada Sequential Access Data Files in java |
Author: | bryce_21 [ Fri Mar 28, 2014 11:25 pm ] |
Post subject: | Sequential Access Data Files in java |
what is a function/ or method to search for all records containing 301-731-xxxx phone number from the input file (inrecords.dat) |
Author: | DemonWasp [ Sat Mar 29, 2014 2:07 am ] |
Post subject: | RE:Sequential Access Data Files in java |
There's no single function that will do that for you. You will have to iterate over all records in the file and figure out whether they match that pattern or not. What have you tried so far, and what have you gotten stuck on? |