public final class

Utf8

extends Object
java.lang.Object
   ↳ org.springframework.security.crypto.codec.Utf8

Class Overview

UTF-8 Charset encoder/decoder.

For internal use only.

Summary

Public Constructors
Utf8()
Public Methods
static String decode(byte[] bytes)
Decode the bytes in UTF-8 form into a String.
static byte[] encode(CharSequence string)
Get the bytes of the String in UTF-8 encoded form.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Utf8 ()

Public Methods

public static String decode (byte[] bytes)

Decode the bytes in UTF-8 form into a String.

public static byte[] encode (CharSequence string)

Get the bytes of the String in UTF-8 encoded form.