int available()
返回下一次对此输入流调用的方法可以不受阻塞地从此输入流读取(或跳过)的估计剩余字节数。
void close()
关闭此文件输入流并释放与此流有关的所有系统资源。
protected void finalize()
确保在不再引用文件输入流时调用其 close 方法。
FileChannel getChannel()
返回与此文件输入流有关的唯一 FileChannel 对象。
FileDescriptor getFD()
返回表示到文件系统中实际文件的连接的 FileDescriptor 对象,该文件系统正被此 FileInputStream 使用。
int read()
int read(byte[] b)
从此输入流中将最多 b.length 个字节的数据读入一个 byte
数组中。
int read(byte[] b, int off, int len)
从此输入流中将最多 len 个
字节的数据读入一个 byte 数组中。
long skip(long n)
从输入流中跳过并丢弃 n 个字节的数据。