org.apache.commons.lang3.text

Class StrBuilder

The aim has been to provide an API that mimics very closely what StringBuffer provides, but with additional methods. It should be noted that some edge cases, with invalid indices or null input, have been altered - see individual methods. The biggest of these changes is that by default, null will not output the text 'null'. This can be controlled by a property, setNullText(String).

Prior to 3.0, this class implemented Cloneable but did not implement the clone method so could not be used. From 3.0 onwards it no longer implements the interface.

Since:
2.2
Version:
$Id: StrBuilder.java 1552657 2013-12-20 13:30:16Z britter $
See Also:
Serialized Form

Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.