Specifications

Sun Services
Java™ Programming Language
Module 14, slide 9 of 22
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
The Reader Methods
The three basic read methods are:
int read()
int read(char[] cbuf)
int read(char[] cbuf, int offset, int length)
Other methods include:
void close()
boolean ready()
long skip(long n)
boolean markSupported()
void mark(int readAheadLimit)
void reset()