public class GrailsRoutablePrintWriter extends GrailsPrintWriterAdapter
Modifiers | Name | Description |
---|---|---|
static interface |
GrailsRoutablePrintWriter.DestinationFactory |
Factory to lazily instantiate the destination. |
private static class |
GrailsRoutablePrintWriter.NullWriter |
Just to keep super constructor for PrintWriter happy - it's never actually used. |
Modifiers | Name | Description |
---|---|---|
private static org.slf4j.Logger |
LOG |
|
private boolean |
blockClose |
|
private boolean |
blockFlush |
|
private boolean |
destinationActivated |
|
private GrailsRoutablePrintWriter.DestinationFactory |
factory |
|
private static org.springframework.objenesis.instantiator.ObjectInstantiator |
instantiator |
Fields inherited from class | Fields |
---|---|
class GrailsPrintWriterAdapter |
LOG, instantiator, target |
Constructor and description |
---|
GrailsRoutablePrintWriter
(GrailsRoutablePrintWriter.DestinationFactory factory) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
activateDestination() |
|
public java.io.PrintWriter |
append(char c) |
|
public java.io.PrintWriter |
append(java.lang.CharSequence csq, int start, int end) |
|
public java.io.PrintWriter |
append(java.lang.CharSequence csq) |
|
public void |
blockFlushAndClose() |
|
public boolean |
checkError() |
|
public void |
close() |
|
public void |
flush() |
|
public boolean |
isAllowUnwrappingOut() |
|
public boolean |
isBlockClose() |
|
public boolean |
isBlockFlush() |
|
public boolean |
isDestinationActivated() |
|
public GrailsPrintWriter |
leftShift(java.lang.Object value) |
|
public GrailsPrintWriter |
leftShift(StreamCharBuffer otherBuffer) |
|
public GrailsPrintWriter |
leftShift(groovy.lang.Writable writable) |
|
public static GrailsRoutablePrintWriter |
newInstance(GrailsRoutablePrintWriter.DestinationFactory factory) |
|
public void |
print(java.lang.Object obj) |
|
public void |
print(java.lang.String s) |
|
public void |
print(char[] s) |
|
public void |
print(double d) |
|
public void |
print(float f) |
|
public void |
print(long l) |
|
public void |
print(int i) |
|
public void |
print(char c) |
|
public void |
print(boolean b) |
|
public void |
println(java.lang.Object x) |
|
public void |
println(java.lang.String x) |
|
public void |
println(char[] x) |
|
public void |
println(double x) |
|
public void |
println(float x) |
|
public void |
println(long x) |
|
public void |
println(int x) |
|
public void |
println(char x) |
|
public void |
println(boolean x) |
|
public void |
println() |
|
public void |
setBlockClose(boolean blockClose) |
|
public void |
setBlockFlush(boolean blockFlush) |
|
public void |
setDestinationActivated(boolean destinationActivated) |
|
public void |
unBlockFlushAndClose() |
|
public java.io.Writer |
unwrap() |
|
public void |
updateDestination(GrailsRoutablePrintWriter.DestinationFactory f) |
|
public void |
write(java.lang.String s) |
|
public void |
write(java.lang.String s, int off, int len) |
|
public void |
write(char[] buf) |
|
public void |
write(char[] buf, int off, int len) |
|
public void |
write(int c) |
Methods inherited from class | Name |
---|---|
class GrailsPrintWriterAdapter |
append, append, append, append, append, checkError, close, close, flush, flush, getOut, getTarget, handleIOException, isAllowUnwrappingOut, isTrouble, isUsed, leftShift, leftShift, leftShift, markUsed, newInstance, plus, print, print, print, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, println, println, println, resetUsed, setError, setTarget, setUsed, unwrap, write, write, write, write, write, write, write, write |