ewe.io
Class FileInputStream
java.lang.Object
ewe.io.InputStream
ewe.io.FileInputStream
- All Implemented Interfaces:
- Streamable
- public class FileInputStream
- extends InputStream
This is a read only input stream from a file.
| Methods inherited from class ewe.io.InputStream |
available, close, getFastStream, getName, mark, markSupported, read, read, read, readSingleByteFromMultiByteRead, reset, shutdown, skip, toReadableStream, toStream |
FileInputStream
public FileInputStream(File file)
throws FileNotFoundException
- Create the FileInputStream from a specified file.
- Parameters:
file - The File to open.
- Throws:
FileNotFoundException - if the file does not exist or could not be open for reading.
FileInputStream
public FileInputStream(String name)
throws FileNotFoundException
- Create the FileInputStream for a specified file name.
- Parameters:
name - The name of the file.
- Throws:
FileNotFoundException - if the file does not exist or could not be open for reading.