|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.Writer java.io.PrintWriter org.codehaus.groovy.grails.web.util.GrailsPrintWriter org.codehaus.groovy.grails.web.pages.FastStringWriter
public class FastStringWriter
Java's default StringWriter uses a StringBuffer which is synchronized. This implementation doesn't use synchronization
Field Summary |
---|
Fields inherited from class org.codehaus.groovy.grails.web.util.GrailsPrintWriter |
---|
allowUnwrappingOut, out, trouble |
Fields inherited from class java.io.Writer |
---|
lock |
Constructor Summary | |
---|---|
|
FastStringWriter()
|
|
FastStringWriter(int initialChunkSize)
|
protected |
FastStringWriter(Object o)
|
Method Summary | |
---|---|
StreamCharBuffer |
getBuffer()
|
Reader |
getReader()
|
String |
getValue()
|
String |
toString()
|
Methods inherited from class org.codehaus.groovy.grails.web.util.GrailsPrintWriter |
---|
append, append, append, append, append, checkError, clone, flush, getFinalTarget, getOut, handleIOException, isAllowUnwrappingOut, isFinalTargetHere, isUsed, leftShift, leftShift, leftShift, plus, print, print, print, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, println, println, println, resetUsed, setFinalTargetHere, setUsed, write, write, write, write, write, write, write |
Methods inherited from class java.io.PrintWriter |
---|
clearError, close, format, format, printf, printf, setError |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FastStringWriter()
public FastStringWriter(int initialChunkSize)
protected FastStringWriter(Object o)
Method Detail |
---|
public StreamCharBuffer getBuffer()
public String toString()
toString
in class Object
public String getValue()
public Reader getReader()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |