juju.reattore.util
Class CharUtil

java.lang.Object
  |
  +--juju.reattore.util.CharUtil

public class CharUtil
extends java.lang.Object

Shared character utility methods.


Constructor Summary
CharUtil()
           
 
Method Summary
static int fromNibble(int val)
          Turns the given character into it's hex value using the HTTP HEX rules.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharUtil

public CharUtil()
Method Detail

fromNibble

public static final int fromNibble(int val)
Turns the given character into it's hex value using the HTTP HEX rules. Basically 0-9, a-f, A-F.

Parameters:
val - A character
Returns:
It's nibble value, or 0 on invalid.


Copyright © 2002-2003 Michael Hope. All Rights Reserved.