org.apache.openjpa.lib.util
Class Base16Encoder
java.lang.Object
org.apache.openjpa.lib.util.Base16Encoder
public class Base16Encoder
- extends Object
Base 16 encoder.
- Author:
- Marc Prud'hommeaux
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 |
Base16Encoder
public Base16Encoder()
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.