'How to filter Reader and save lines to patternt
I've got a file with some informations about test's, every test has 1 title line, 2 lines with test informations, and about 6/7 lines with test output. In that file there is about 50 tests. How can I get those lines saved to pattern, for example String title, String data, String testOutput. Bassicly I need to make a method to filter this file and save it to this pattern, and then i need to compare that pattern to another pattern, I tried many ways like Filterreader, but I can't do it. I've seen simmular questions but I don't get this.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
