concept text file in category java
appears as: text file

This is an excerpt from Manning's book Java Testing with Spock.
Reading a text file in Java usually requires a basic understanding of buffered readers or any other Java file API that was added with each new Java version.[11] Groovy does away with all the unneeded craft and allows you to read a file in the simplest way possible: