org.apache.commons.codec.net
Class Utils

java.lang.Object
  extended by org.apache.commons.codec.net.Utils

 class Utils
extends java.lang.Object

Utility methods for this package.

Since:
1.4
Version:
$Id: Utils.java 798611 2009-07-28 17:10:44Z ggregory $
Author:
Gary Gregory

Constructor Summary
Utils()
           
 
Method Summary
(package private) static int digit16(byte b)
          Returns the numeric value of the character b in radix 16.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

Utils()
Method Detail

digit16

static int digit16(byte b)
            throws DecoderException
Returns the numeric value of the character b in radix 16.

Parameters:
b - The byte to be converted.
Returns:
The numeric value represented by the character in radix 16.
Throws:
DecoderException - Thrown when the byte is not valid per Character.digit(char,int)


commons-codec version 1.4 - Copyright © 2002-2015 - Apache Software Foundation