info.aduna.text
Class ASCIIUtil

java.lang.Object
  extended by info.aduna.text.ASCIIUtil

public class ASCIIUtil
extends java.lang.Object

Utility methods for ASCII character checking.


Constructor Summary
ASCIIUtil()
           
 
Method Summary
static boolean isLetter(int c)
          Checks whether the supplied character is a letter.
static boolean isLetterOrNumber(int c)
          Checks whether the supplied character is a letter or number.
static boolean isLowerCaseLetter(int c)
          Checks whether the supplied character is an lower-case letter.
static boolean isNumber(int c)
          Checks whether the supplied character is a number
static boolean isUpperCaseLetter(int c)
          Checks whether the supplied character is an upper-case letter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASCIIUtil

public ASCIIUtil()
Method Detail

isLetterOrNumber

public static boolean isLetterOrNumber(int c)
Checks whether the supplied character is a letter or number.

See Also:
isLetter(int), isNumber(int)

isLetter

public static boolean isLetter(int c)
Checks whether the supplied character is a letter.


isUpperCaseLetter

public static boolean isUpperCaseLetter(int c)
Checks whether the supplied character is an upper-case letter.


isLowerCaseLetter

public static boolean isLowerCaseLetter(int c)
Checks whether the supplied character is an lower-case letter.


isNumber

public static boolean isNumber(int c)
Checks whether the supplied character is a number



Copyright © 2010 Aduna. All Rights Reserved.