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 int
available()
void
close()
protected void
finalize()
FileDescriptor
getFD()
int
read()
int
read(byte[] var0)
int
read(byte[] var0, int var1, int var2)
long
skip(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:
available
in classInputStream
- Throws:
IOException
-
close
public void close() throws IOException
- Overrides:
close
in classInputStream
- Throws:
IOException
-
finalize
protected void finalize() throws IOException
- Overrides:
finalize
in classObject
- Throws:
IOException
-
getFD
public final FileDescriptor getFD() throws IOException
- Throws:
IOException
-
read
public int read() throws IOException
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
public int read(byte[] var0) throws IOException
- Overrides:
read
in classInputStream
- Throws:
IOException
-
read
public int read(byte[] var0, int var1, int var2) throws IOException
- Overrides:
read
in classInputStream
- Throws:
IOException
-
skip
public long skip(long var0) throws IOException
- Overrides:
skip
in classInputStream
- Throws:
IOException
-
-