How to Convert String to StringBuffer in Java