クラス Utf8


  • public final class Utf8
    extends java.lang.Object
    UTF-8 Charset エンコーダー / デコーダー。

    内部使用のみ。

    • メソッドのサマリー

      すべてのメソッド   静的メソッド   具象メソッド  
      修飾子と型 メソッド 説明
      static java.lang.Stringdecode​(byte[] bytes)
      UTF-8 形式のバイトを文字列にデコードします。
      static byte[]encode​(java.lang.CharSequence string)
      文字列のバイトを UTF-8 エンコード形式で取得します。
      • クラス java.lang.Object から継承されたメソッド

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • メソッドの詳細

      • encode

        public static byte[] encode​(java.lang.CharSequence string)
        文字列のバイトを UTF-8 エンコード形式で取得します。
      • decode

        public static java.lang.String decode​(byte[] bytes)
        UTF-8 形式のバイトを文字列にデコードします。