How to do it... · To read all the lines at once, you can use the readLines method: def lines = file.readLines() · The lines is a collection ( java.util. · There is ...
確定! 回上一頁