Package groovy.io
Class EncodingAwareBufferedWriter
java.lang.Object
java.io.Writer
java.io.BufferedWriter
groovy.io.EncodingAwareBufferedWriter
- All Implemented Interfaces:
- Closeable,- Flushable,- Appendable,- AutoCloseable
A buffered writer only for OutputStreamWriter that is aware of
 the encoding of the OutputStreamWriter.
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionThe encoding as returned by the underlying OutputStreamWriter.The encoding as returned by the underlying OutputStreamWriter.
- 
Constructor Details- 
EncodingAwareBufferedWriter
 
- 
- 
Method Details- 
getEncodingThe encoding as returned by the underlying OutputStreamWriter. Can be the historical name.- Returns:
- the encoding
- See Also:
 
- 
getNormalizedEncodingThe encoding as returned by the underlying OutputStreamWriter. Will be the preferred name.- Returns:
- the encoding
- See Also:
 
 
-