org.apache.geronimo.interop.util
Class Base16Binary

java.lang.Object
  extended byorg.apache.geronimo.interop.util.Base16Binary

public class Base16Binary
extends java.lang.Object


Constructor Summary
Base16Binary()
           
 
Method Summary
static byte[] fromString(java.lang.String string)
          * Convert from hexadecimal string to byte array.
static byte[] fromString(java.lang.String string, int offset, int length)
          * Convert from hexadecimal string to byte array.
static java.lang.String toString(byte[] bytes)
          * Convert from byte array to hexadecimal string.
static java.lang.String toString(byte[] bytes, int offset, int length)
          * Convert from byte array to hexadecimal string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base16Binary

public Base16Binary()
Method Detail

fromString

public static byte[] fromString(java.lang.String string)
* Convert from hexadecimal string to byte array.


fromString

public static byte[] fromString(java.lang.String string,
                                int offset,
                                int length)
* Convert from hexadecimal string to byte array.


toString

public static java.lang.String toString(byte[] bytes)
* Convert from byte array to hexadecimal string.


toString

public static java.lang.String toString(byte[] bytes,
                                        int offset,
                                        int length)
* Convert from byte array to hexadecimal string.



Copyright © 2005 Apache Software Foundation. All Rights Reserved.