public class FastStringWriter extends GrailsPrintWriter
Java's default StringWriter uses a StringBuffer which is synchronized. This implementation doesn't use synchronization
Modifiers | Name | Description |
---|---|---|
protected StreamCharBuffer |
streamBuffer |
Fields inherited from class | Fields |
---|---|
class GrailsPrintWriter |
CRLF, LOG, allowUnwrappingOut, out, previousOut, streamCharBufferTarget, trouble, usageFlag |
Constructor and description |
---|
FastStringWriter
() |
FastStringWriter
(int initialChunkSize) |
FastStringWriter
(java.lang.Object o) |
Methods inherited from class | Name |
---|---|
class GrailsPrintWriter |
append, append, append, append, append, appendNullCharSequence, asPrintWriter, asType, checkError, clone, close, findStreamCharBufferTarget, flush, getMetaClass, getOut, getProperty, getWriterForEncoder, invokeMethod, isAllowUnwrappingOut, isDestinationActivated, isUsed, leftShift, leftShift, leftShift, leftShift, leftShift, markUsed, plus, print, print, print, print, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, println, println, println, resetUsed, setError, setMetaClass, setOut, setProperty, setUsed, unwrap, unwrapWriter, write, write, write, write, write, write, write, writeWritable |