FileInputStream
Class FileInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FileInputStream
- All Implemented Interfaces:
- Closeable, AutoCloseable
public class FileInputStream extends InputStream
A FileInputStream
obtains input bytes from a file in a file system. What files are available depends on the host environment.
FileInputStream
is meant for reading streams of raw bytes such as image data. For reading streams of characters, consider using FileReader
.
- Since: