DelegatingIndentWriter (groovy 2.4.11 API)
Date: 2017-04-27

Package: groovy.text.markup

## [Java] Class DelegatingIndentWriter

- groovy.text.markup.DelegatingIndentWriter

- A writer which delegates to another writer and supports an additional indenting level.

  Authors:
    Cedric Champeau

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `static String` | `SPACES` |
    `static String` | `TAB` |

  - ### Constructor Summary

    Constructors
    Constructor and description
    `DelegatingIndentWriter (Writer delegate)`
    `DelegatingIndentWriter (Writer delegate, String indentString)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `Writer` | `append(CharSequence csq)`
    `` | `Writer` | `append(CharSequence csq, int start, int end)`
    `` | `Writer` | `append(char c)`
    `` | `void` | `close()`
    `` | `void` | `flush()`
    `` | `int` | `next()`
    `` | `int` | `previous()`
    `` | `void` | `write(int c)`
    `` | `void` | `write(char[] cbuf)`
    `` | `void` | `write(char[] cbuf, int off, int len)`
    `` | `void` | `write(String str)`
    `` | `void` | `write(String str, int off, int len)`
    `` | `void` | `writeIndent()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Writer` | `append, append, append, append, append, append, write, write, write, write, write, close, flush, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Field Detail

    - #### public static final String SPACES

    - #### public static final String TAB

  - ### Constructor Detail

    - #### public DelegatingIndentWriter(Writer delegate)

    - #### public DelegatingIndentWriter(Writer delegate, String indentString)

  - ### Method Detail

    - #### @Override public Writer append(CharSequence csq)

    - #### @Override public Writer append(CharSequence csq, int start, int end)

    - #### @Override public Writer append(char c)

    - #### @Override public void close()

    - #### @Override public void flush()

    - #### public int next()

    - #### public int previous()

    - #### @Override public void write(int c)

    - #### @Override public void write(char[] cbuf)

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

    - #### @Override public void write(String str)

    - #### @Override public void write(String str, int off, int len)

    - #### public void writeIndent()