Friday, February 3, 2012

How To: wrapp StringBuffer.append to print each "append" in new line

All of you know fine StringBuilder (StringBuffer) classes. Time to time you need to out multilines text and must code something like


or any type of adding this "\n"

We could simplify it to

StringBufferLined

No comments: