Wednesday, July 9, 2008

StringBuffer in groovy

Remember that when one is using a StringBuffer , one needs to close() it or your program will exit with a half written file. I use this more often than not when writing large files for performance reasons.

0 comments:

Post a Comment