jp.ne.nifty.iga.tosiki.string
クラス HexDumpUtil

java.lang.Object
  |
  +--jp.ne.nifty.iga.tosiki.string.HexDumpUtil

public class HexDumpUtil
extends java.lang.Object

16進ダンプを行うユーティリティクラス
開発を行っていると 不意にあるデータを16進ダンプしたくなります。 このクラスは そのような16進ダンプを行うクラスです。 なお ダンプ出力そのものは 『無装飾』 で行います。

作成者:
Tosiki IGA , Eiichirou Takahashi

コンストラクタの概要
HexDumpUtil()
           
 
メソッドの概要
static java.lang.String toString(byte[] bytearyDump)
          与えられた文字列を16進ダンプ文字列化します。
static java.lang.String toString(java.lang.String strDump)
          与えられた文字列を16進ダンプ文字列化します。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

HexDumpUtil

public HexDumpUtil()
メソッドの詳細

toString

public static final java.lang.String toString(java.lang.String strDump)
与えられた文字列を16進ダンプ文字列化します。
パラメータ:
String - strDump ダンプしたい文字列
戻り値:
String 16進化されたダンプ文字列

toString

public static final java.lang.String toString(byte[] bytearyDump)
与えられた文字列を16進ダンプ文字列化します。
パラメータ:
byte[] - bytearyDump ダンプしたいbyte配列
戻り値:
String 16進化されたダンプ文字列