1. Is there a tool to take a block of text and turn it into Java StringBuffer code? stackoverflow.comI have several blocks of text that I need to be able to paste inline in my code for some unit tests. It would make the code difficult to read if ... |
2. how to display the multiple lines text in a single - String, StringBuffer forums.oracle.com |
3. StringBuffer not expanding properly, appended text gets cut off forums.oracle.comI am trying to use a StringBuffer, but for some reason the String is being capped at 100 chars. For Example: StringBuffer sb = new StringBuffer(); sb.append("This is a test ONE."); sb.append("This is a test TWO."); sb.append("This is a test THREE."); sb.append("This is a test FOUR."); sb.append("This is a test FIVE."); sb.append("This is a test SIX."); sb.append("This is a test SEVEN."); ... |