onbon.bx06.utils
Class AddressUtils

java.lang.Object
  extended by onbon.bx06.utils.AddressUtils

public class AddressUtils
extends Object

TCP 位址工具程式。

Author:
ONBON

Constructor Summary
AddressUtils()
           
 
Method Summary
static String read(byte[] address)
          转换位元组为位址字串。
static byte[] read(String address)
          转换位址字串为位元组。
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddressUtils

public AddressUtils()
Method Detail

read

public static byte[] read(String address)
转换位址字串为位元组。

Parameters:
address - 位址字串。
Returns:
位元组。

read

public static String read(byte[] address)
转换位元组为位址字串。

Parameters:
address - 位元组。
Returns:
位址字串。


Copyright © 2020 onbon. All rights reserved.