Package org.apache.tomcat.util.buf
Class Ascii
java.lang.Object
org.apache.tomcat.util.buf.Ascii
This class implements some basic ASCII character handling functions.
- Author:
- dac@eng.sun.com, James Todd [gonzo@eng.sun.com]
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
Asciipublic Ascii()
 
- 
- 
Method Details- 
toLowerpublic static int toLower(int c) Returns the lower case equivalent of the specified ASCII character.- Parameters:
- c- The char
- Returns:
- the lower case equivalent char
 
- 
parseLongParses an unsigned long from the specified subarray of bytes.- Parameters:
- b- the bytes to parse
- off- the start offset of the bytes
- len- the length of the bytes
- Returns:
- the long value
- Throws:
- NumberFormatException- if the long format was invalid
 
 
-