How to read a file in Groovy into a string?

前端 未结 6 1366
不知归路
不知归路 2020-12-02 05:12

I need to read a file from the file system and load the entire contents into a string in a groovy controller, what\'s the easiest way to do that?

6条回答
提交回复
热议问题