org.eclipse.webdav.internal.authentication
Class HexConverter
java.lang.Object
org.eclipse.webdav.internal.authentication.HexConverter
public final class HexConverter
- extends Object
This class provides a function that converts byte arrays to their
equivalent hexadecimal string.
Method Summary |
static String |
toHex(byte[] arr)
Converts the given byte array to its equivalent hexadecimal string
and returns the result. |
static String |
toHex(int[] arr)
Converts the given int array to its equivalent hexadecimal string
and returns the result. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HexConverter
public HexConverter()
toHex
public static String toHex(byte[] arr)
- Converts the given byte array to its equivalent hexadecimal string
and returns the result.
toHex
public static String toHex(int[] arr)
- Converts the given int array to its equivalent hexadecimal string
and returns the result.
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.