Package java.io
Class FileInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FileInputStream
-
public class FileInputStream extends InputStream
-
-
Constructor Summary
Constructors Constructor Description FileInputStream(File var0)FileInputStream(FileDescriptor var0)FileInputStream(String var0)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intavailable()voidclose()protected voidfinalize()FileDescriptorgetFD()intread()intread(byte[] var0)intread(byte[] var0, int var1, int var2)longskip(long var0)-
Methods inherited from class java.io.InputStream
mark, markSupported, reset
-
-
-
-
Constructor Detail
-
FileInputStream
public FileInputStream(File var0) throws FileNotFoundException
- Throws:
FileNotFoundException
-
FileInputStream
public FileInputStream(FileDescriptor var0)
-
FileInputStream
public FileInputStream(String var0) throws FileNotFoundException
- Throws:
FileNotFoundException
-
-
Method Detail
-
available
public int available() throws IOException- Overrides:
availablein classInputStream- Throws:
IOException
-
close
public void close() throws IOException- Overrides:
closein classInputStream- Throws:
IOException
-
finalize
protected void finalize() throws IOException- Overrides:
finalizein classObject- Throws:
IOException
-
getFD
public final FileDescriptor getFD() throws IOException
- Throws:
IOException
-
read
public int read() throws IOException- Specified by:
readin classInputStream- Throws:
IOException
-
read
public int read(byte[] var0) throws IOException- Overrides:
readin classInputStream- Throws:
IOException
-
read
public int read(byte[] var0, int var1, int var2) throws IOException- Overrides:
readin classInputStream- Throws:
IOException
-
skip
public long skip(long var0) throws IOException- Overrides:
skipin classInputStream- Throws:
IOException
-
-