Package groovy.io

Class EncodingAwareBufferedWriter

    • 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.
        Returns:
        the encoding
        See Also:
        OutputStreamWriter.getEncoding()
      • getNormalizedEncoding

        public String getNormalizedEncoding()
        The encoding as returned by the underlying OutputStreamWriter. Will be the preferred name.
        Returns:
        the encoding
        See Also:
        OutputStreamWriter.getEncoding()