GrailsPrintWriterAdapter (Grails 6.0.0)

Package: org.grails.buffer

## [Java] Class GrailsPrintWriterAdapter

- org.grails.buffer.GrailsPrintWriterAdapter

- All Implemented Interfaces and Traits:
    GrailsWrappedWriter

      public class GrailsPrintWriterAdapter
      extends java.io.PrintWriter
      implements GrailsWrappedWriter

  Authors:
    Lari Hotari
  Since:
    2.0

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `private static org.slf4j.Logger` | `LOG` |
    `private static org.springframework.objenesis.instantiator.ObjectInstantiator` | `instantiator` |
    `protected GrailsPrintWriter` | `target` |

  - ### Constructor Summary

    Constructors
    Constructor and description
    `GrailsPrintWriterAdapter (java.io.Writer wrapped)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `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 java.io.PrintWriter` | `append(java.lang.Object obj)`
    `` | `public void` | `append(StreamCharBuffer otherBuffer)`
    `` | `public boolean` | `checkError()`
    `` | `public void` | `close()`
    `` | `public void` | `close()`
    `` | `public void` | `flush()`
    `` | `public void` | `flush()`
    `` | `public java.io.Writer` | `getOut()`
    `` | `public GrailsPrintWriter` | `getTarget()`
    `` | `protected void` | `handleIOException(java.io.IOException e)`
    `` | `public boolean` | `isAllowUnwrappingOut()`
    `` | `protected boolean` | `isTrouble()`
    `` | `public boolean` | `isUsed()`
    `` | `public GrailsPrintWriter` | `leftShift(java.lang.Object value)`
    `` | `public GrailsPrintWriter` | `leftShift(StreamCharBuffer otherBuffer)`
    `` | `public GrailsPrintWriter` | `leftShift(groovy.lang.Writable writable)`
    `` | `public void` | `markUsed()`
    `` | `public static GrailsPrintWriterAdapter` | `newInstance(java.io.Writer wrapped)`
    `` | `public GrailsPrintWriter` | `plus(java.lang.Object value)`
    `` | `public void` | `print(java.lang.Object obj)`
    `` | `public void` | `print(java.lang.String s)`
    `` | `public void` | `print(boolean b)`
    `` | `public void` | `print(char c)`
    `` | `public void` | `print(int i)`
    `` | `public void` | `print(long l)`
    `` | `public void` | `print(float f)`
    `` | `public void` | `print(double d)`
    `` | `public void` | `print(char[] s)`
    `` | `public void` | `print(StreamCharBuffer otherBuffer)`
    `` | `public void` | `print(groovy.lang.Writable writable)`
    `` | `public void` | `println()`
    `` | `public void` | `println(boolean b)`
    `` | `public void` | `println(char c)`
    `` | `public void` | `println(int i)`
    `` | `public void` | `println(long l)`
    `` | `public void` | `println(float f)`
    `` | `public void` | `println(double d)`
    `` | `public void` | `println(char[] c)`
    `` | `public void` | `println(java.lang.String s)`
    `` | `public void` | `println(java.lang.Object o)`
    `` | `public void` | `println(StreamCharBuffer otherBuffer)`
    `` | `public boolean` | `resetUsed()`
    `` | `public void` | `setError()`
    `` | `public void` | `setTarget(java.io.Writer wrapped)`
    `` | `public void` | `setUsed(boolean newUsed)`
    `` | `public java.io.Writer` | `unwrap()`
    `` | `public void` | `write(char[] cbuf, int off, int len)`
    `` | `public void` | `write(java.lang.String s)`
    `` | `public void` | `write(int c)`
    `` | `public void` | `write(char[] buf, int off, int len)`
    `` | `public void` | `write(java.lang.String s, int off, int len)`
    `` | `public void` | `write(char[] buf)`
    `` | `public void` | `write(StreamCharBuffer otherBuffer)`
    `` | `public void` | `write(groovy.lang.Writable writable)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class java.io.PrintWriter` | `java.io.PrintWriter#println([C), java.io.PrintWriter#println(double), java.io.PrintWriter#println(float), java.io.PrintWriter#println(java.lang.String), java.io.PrintWriter#println(java.lang.Object), java.io.PrintWriter#println(int), java.io.PrintWriter#println(char), java.io.PrintWriter#println(boolean), java.io.PrintWriter#println(), java.io.PrintWriter#println(long), java.io.PrintWriter#append(java.lang.CharSequence, int, int), java.io.PrintWriter#append(java.lang.CharSequence, int, int), java.io.PrintWriter#append(java.lang.CharSequence, int, int), java.io.PrintWriter#append(java.lang.CharSequence), java.io.PrintWriter#append(java.lang.CharSequence), java.io.PrintWriter#append(java.lang.CharSequence), java.io.PrintWriter#append(char), java.io.PrintWriter#append(char), java.io.PrintWriter#append(char), java.io.PrintWriter#format(java.util.Locale, java.lang.String, [Ljava.lang.Object;), java.io.PrintWriter#format(java.lang.String, [Ljava.lang.Object;), java.io.PrintWriter#write(int), java.io.PrintWriter#write(java.lang.String, int, int), java.io.PrintWriter#write([C), java.io.PrintWriter#write([C, int, int), java.io.PrintWriter#write(java.lang.String), java.io.PrintWriter#print(float), java.io.PrintWriter#print(long), java.io.PrintWriter#print(int), java.io.PrintWriter#print(char), java.io.PrintWriter#print(boolean), java.io.PrintWriter#print(java.lang.Object), java.io.PrintWriter#print(java.lang.String), java.io.PrintWriter#print([C), java.io.PrintWriter#print(double), java.io.PrintWriter#flush(), java.io.PrintWriter#close(), java.io.PrintWriter#checkError(), java.io.PrintWriter#printf(java.util.Locale, java.lang.String, [Ljava.lang.Object;), java.io.PrintWriter#printf(java.lang.String, [Ljava.lang.Object;), java.io.PrintWriter#nullWriter(), java.io.PrintWriter#wait(long), java.io.PrintWriter#wait(long, int), java.io.PrintWriter#wait(), java.io.PrintWriter#equals(java.lang.Object), java.io.PrintWriter#toString(), java.io.PrintWriter#hashCode(), java.io.PrintWriter#getClass(), java.io.PrintWriter#notify(), java.io.PrintWriter#notifyAll()`

- - ### Field Detail

    - #### private static final org.slf4j.Logger LOG

    - #### private static org.springframework.objenesis.instantiator.ObjectInstantiator instantiator

    - #### protected GrailsPrintWriter target

  - ### Constructor Detail

    - #### public GrailsPrintWriterAdapter(java.io.Writer wrapped)

  - ### Method Detail

    - #### @java.lang.Override public java.io.PrintWriter append(char c)

    - #### @java.lang.Override public java.io.PrintWriter append(java.lang.CharSequence csq, int start, int end)

    - #### @java.lang.Override public java.io.PrintWriter append(java.lang.CharSequence csq)

    - #### public java.io.PrintWriter append(java.lang.Object obj)

    - #### public void append(StreamCharBuffer otherBuffer)

    - #### @java.lang.Override public boolean checkError()

    - #### @java.lang.Override public void close()

    - #### @java.lang.Override public void flush()

    - #### public java.io.Writer getOut()

    - #### public GrailsPrintWriter getTarget()

    - #### protected void handleIOException(java.io.IOException e)

    - #### public boolean isAllowUnwrappingOut()

    - #### protected boolean isTrouble()

    - #### public boolean isUsed()

    - #### public GrailsPrintWriter leftShift(java.lang.Object value)

    - #### public GrailsPrintWriter leftShift(StreamCharBuffer otherBuffer)

    - #### public GrailsPrintWriter leftShift(groovy.lang.Writable writable)

    - #### public void markUsed()

    - #### public static GrailsPrintWriterAdapter newInstance(java.io.Writer wrapped)

    - #### public GrailsPrintWriter plus(java.lang.Object value)

    - #### @java.lang.Override public void print(java.lang.Object obj)

    - #### @java.lang.Override public void print(java.lang.String s)

    - #### @java.lang.Override public void print(boolean b)

    - #### @java.lang.Override public void print(char c)

    - #### @java.lang.Override public void print(int i)

    - #### @java.lang.Override public void print(long l)

    - #### @java.lang.Override public void print(float f)

    - #### @java.lang.Override public void print(double d)

    - #### @java.lang.Override public void print(char[] s)

    - #### public void print(StreamCharBuffer otherBuffer)

    - #### public void print(groovy.lang.Writable writable)

    - #### @java.lang.Override public void println()

    - #### @java.lang.Override public void println(boolean b)

    - #### @java.lang.Override public void println(char c)

    - #### @java.lang.Override public void println(int i)

    - #### @java.lang.Override public void println(long l)

    - #### @java.lang.Override public void println(float f)

    - #### @java.lang.Override public void println(double d)

    - #### @java.lang.Override public void println(char[] c)

    - #### @java.lang.Override public void println(java.lang.String s)

    - #### @java.lang.Override public void println(java.lang.Object o)

    - #### public void println(StreamCharBuffer otherBuffer)

    - #### public boolean resetUsed()

    - #### @java.lang.Override public void setError()

    - #### public void setTarget(java.io.Writer wrapped)

    - #### public void setUsed(boolean newUsed)

    - #### public java.io.Writer unwrap()

    - #### @java.lang.Override public void write(char[] cbuf, int off, int len)

    - #### @java.lang.Override public void write(java.lang.String s)

    - #### @java.lang.Override public void write(int c)

    - #### @java.lang.Override public void write(char[] buf, int off, int len)

    - #### @java.lang.Override public void write(java.lang.String s, int off, int len)

    - #### @java.lang.Override public void write(char[] buf)

    - #### public void write(StreamCharBuffer otherBuffer)

    - #### public void write(groovy.lang.Writable writable)