JXTA

jxta.security.util
Class Util

java.lang.Object
  |
  +--jxta.security.util.Util

public class Util
extends java.lang.Object


Constructor Summary
Util()
           
 
Method Summary
static java.lang.String hexEncode(byte[] buf)
          Byte array to hex ascii string
static java.lang.String hexEncode(byte[] buf, short offset)
          Byte array to hex ascii string with buffer offset
static java.lang.String hexEncode(byte[] buf, short offset, short nbytes)
          nbytes of byte array to hex ascii string with buffer offset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

hexEncode

public static java.lang.String hexEncode(byte[] buf)
                                  throws java.lang.ArrayIndexOutOfBoundsException
Byte array to hex ascii string

hexEncode

public static java.lang.String hexEncode(byte[] buf,
                                         short offset)
                                  throws java.lang.ArrayIndexOutOfBoundsException
Byte array to hex ascii string with buffer offset

hexEncode

public static java.lang.String hexEncode(byte[] buf,
                                         short offset,
                                         short nbytes)
                                  throws java.lang.ArrayIndexOutOfBoundsException
nbytes of byte array to hex ascii string with buffer offset

JXTA