Convert file to string in Groovy

By neokrates, written on May 6, 2010

groovy   snippet

  • Join date: 11-30-99
  • Posts: 224
View Counter:
  • 108 views
Rate it
Ad
Poll
  • Virtualized OS can be used for?

    View Results

    Loading ... Loading ...
Feeds:
  • bodytext bodytext bodytext
String str =new File("path/file.txt" .getText()
print str
Be Sociable, Share!
 
Does that help to solve your problem?
VN:F [1.8.5_1061]
Rating: 0 (from 0 votes)
0 votes 'YES'  0 votes 'NO'
TAGS
No tags for this post.
RELATED
Pages
Posts
SOCIAL
Be Sociable, Share!

Leave a Reply