Groovy 1.7.0

## groovy.io
Class EncodingAwareBufferedWriter

    java.lang.Object
      java.io.Writer
          java.io.BufferedWriter
              groovy.io.EncodingAwareBufferedWriter

    class EncodingAwareBufferedWriter
    extends BufferedWriter

A buffered writer only for OutputStreamWriter that is aware of the encoding of the OutputStreamWriter.

author:
  Paul King

Constructor Summary
`EncodingAwareBufferedWriter(OutputStreamWriter out)`

Method Summary
`String` | `getEncoding()` The encoding as returned by the underlying OutputStreamWriter.
`String` | `getNormalizedEncoding()` The encoding as returned by the underlying OutputStreamWriter.

Methods inherited from class BufferedWriter
write, write, write, close, flush, newLine, append, append, append, append, append, append, write, write, wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll

Methods inherited from class Writer
append, append, append, append, append, append, write, write, write, write, write, close, flush, wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll

Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll

Constructor Detail

### EncodingAwareBufferedWriter

    public EncodingAwareBufferedWriter(OutputStreamWriter out)

Method Detail

### getEncoding

    public String getEncoding()

  The encoding as returned by the underlying OutputStreamWriter. Can be the historical name.
  return:
    the encoding
  see:
    OutputStreamWriter#getEncoding

### getNormalizedEncoding

    public String getNormalizedEncoding()

  The encoding as returned by the underlying OutputStreamWriter. Will be the preferred name.
  return:
    the encoding
  see:
    OutputStreamWriter#getEncoding

Copyright © 2003-2009 The Codehaus. All rights reserved.