Low-level StreamsArgumentsReturnsread Methods
FileInputStreamFile
FileDescriptor
String
intread()
read(byte[])
read(byte[],int,int)
ByteArrayInputStreambyte[]
byte[], int, int
intread()
read(byte[],int,int)

High-level StreamsArgumentsReturnsread Methods
FilterInputStreamInputStreamintread()
read(byte[])
read(byte[],int,int)
DataInputStreamInputStreamint

boolean
byte
char
double
float
int
long
short
String
read()
read(byte[],int,int)
readBoolean()
readByte()
readChar()
readDouble()
readFloat()
readInt()
readLong()
readShort()
readLine() [Deprecated]
BufferedInputStreamInputStream
InputStream,int size
intread()
read(byte[],int,int)

Low-level ReadersArgumentsReturnsread Methods
FileReaderFile
FileDescriptor
String
intinherits read() from Reader and InputStreamReader
read()
read(char[])
read(char[],int,int)
see below for InputStreamReader methods
CharArrayReaderchar[]
char[], int, int
intread()
read(char[],int,int)
StringReaderStringintread()
read(char[],int,int)

High-level ReadersArgumentsReturnsread Methods
BufferedReaderReaderintread()
read(char[],int,int)
readLine()
InputStreamReaderInputStreamintread()
read(char[],int,int)
StringReaderStringintread()
read(char[],int,int)

1