FileInputStream Members

FileInputStream Members

Class Overview | This Package | All Packages

Constructors
Name Description
FileInputStream(File) Creates an input file stream to read from the specified File object.
FileInputStream(FileDescriptor) Creates an input file stream to read from the specified file descriptor.
FileInputStream(String) Creates an input file stream to read from a file with the specified name.

Methods
Name Description
available() Returns the number of bytes that can be read from this file input stream without blocking.
close() Closes this file input stream and releases any system resources associated with the stream.
finalize() Ensures that the close method of this file input stream is called when there are no more references to it.
getFD() Returns the opaque file descriptor object associated with this stream.
read() Reads a byte of data from this input stream.
read(byte[]) Reads up to b.length bytes of data from this input stream into an array of bytes.
read(byte[], int, int) Reads up to len bytes of data from this input stream into an array of bytes.
skip(long) Skips over and discards n bytes of data from the input stream.