Package org.grails.buffer
Class GrailsLazyProxyPrintWriter
java.lang.Object
java.io.Writer
org.grails.buffer.GrailsPrintWriter
org.grails.buffer.GrailsLazyProxyPrintWriter
- All Implemented Interfaces:
groovy.lang.GroovyObject,Closeable,Flushable,Appendable,AutoCloseable,GrailsWrappedWriter,EncodedAppenderWriterFactory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceFactory to lazily instantiate the destination. -
Field Summary
Fields inherited from class org.grails.buffer.GrailsPrintWriter
allowUnwrappingOut, CRLF, logger, out, previousOut, streamCharBufferTarget, trouble, usageFlag -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptiongetOut()booleanbooleanvoidsetDestinationActivated(boolean destinationActivated) unwrap()voidMethods inherited from class org.grails.buffer.GrailsPrintWriter
append, append, append, append, append, appendNullCharSequence, asPrintWriter, asType, checkError, clone, close, findStreamCharBufferTarget, flush, getMetaClass, getProperty, getWriterForEncoder, invokeMethod, 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, unwrapWriter, write, write, write, write, write, write, write, writeWritableMethods inherited from class java.io.Writer
nullWriter
-
Constructor Details
-
GrailsLazyProxyPrintWriter
-
-
Method Details
-
getOut
- Overrides:
getOutin classGrailsPrintWriter
-
isAllowUnwrappingOut
public boolean isAllowUnwrappingOut()- Specified by:
isAllowUnwrappingOutin interfaceGrailsWrappedWriter- Overrides:
isAllowUnwrappingOutin classGrailsPrintWriter
-
unwrap
- Specified by:
unwrapin interfaceGrailsWrappedWriter- Overrides:
unwrapin classGrailsPrintWriter
-
updateDestination
-
isDestinationActivated
public boolean isDestinationActivated()- Overrides:
isDestinationActivatedin classGrailsPrintWriter
-
setDestinationActivated
public void setDestinationActivated(boolean destinationActivated)
-