org.apache.openjpa.lib.util
Class Base16Encoder

java.lang.Object
  extended by org.apache.openjpa.lib.util.Base16Encoder

public class Base16Encoder
extends Object

Base 16 encoder.

Author:
Marc Prud'hommeaux

Constructor Summary
Base16Encoder()
           
 
Method Summary
static byte[] decode(String s)
          Convert a base16 string into a byte array.
static String encode(byte[] byteArray)
          Convert bytes to a base16 string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base16Encoder

public Base16Encoder()
Method Detail

encode

public static String encode(byte[] byteArray)
Convert bytes to a base16 string.


decode

public static byte[] decode(String s)
Convert a base16 string into a byte array.



Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.