Java Reference
In-Depth Information
public String readLine() throws IOException
Reads a line of input from the input stream and returns that line. If the read goes beyond the end
of the fi le, null is returned. (Note that an EOFException is not thrown at the end of a fi le. The
end of a fi le is signaled by returning null .)
public long skip( long n) throws IOException
Skips n characters.
Byte
This is a wrapper class for byte . See Section 5.1 in Chapter 5 .
Character
Package: java.lang
Ancestor classes:
Object
|
+--Character
Implemented interfaces: Comparable, Serializable
The Character class is marked final , which means it cannot be used as a base class to
derive other classes.
public static boolean isDigit( char argument)
Returns true if its argument is a digit; otherwise returns false.
EXAMPLES
Character.isDigit('5') returns true . Character.isDigit('A') and Character.
isDigit('%') both return false .
public static boolean isLetter( char argument)
Returns true if its argument is a letter; otherwise returns false.
EXAMPLES
Character.isLetter('A') returns true . Character.isLetter('%') and Character.
isLetter('5') both return false .
public static boolean isLetterOrDigit( char argument)
Returns true if its argument is a letter or a digit; otherwise returns false .
EXAMPLES
Character.isLetterOrDigit('A') and Character.isLetterOrDigit('5') both
return true . Character.isLetterOrDigit('&') returns false.
 
Search WWH ::




Custom Search