Interface CharsetCapable


  • @ParametersAreNonnullByDefault
    public interface CharsetCapable
    Support for charset capability.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.nio.charset.Charset getCharset()
      Returns currently used charset.
      void setCharset​(java.nio.charset.Charset charset)
      Sets charset to use for characters decoding.
    • Method Detail

      • getCharset

        @Nonnull
        java.nio.charset.Charset getCharset()
        Returns currently used charset.
        Returns:
        charset
      • setCharset

        void setCharset​(java.nio.charset.Charset charset)
        Sets charset to use for characters decoding.
        Parameters:
        charset - charset