public class TFileInputStream extends InputStream
| Constructor and Description |
|---|
TFileInputStream(File file) |
TFileInputStream(FileDescriptor fdObj) |
TFileInputStream(String name) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
FileDescriptor |
getFD() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
long |
skip(long n) |
mark, markSupported, resetpublic TFileInputStream(String name) throws FileNotFoundException
FileNotFoundExceptionpublic TFileInputStream(File file) throws FileNotFoundException
FileNotFoundExceptionpublic TFileInputStream(FileDescriptor fdObj)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class InputStreampublic final FileDescriptor getFD() throws IOException
IOExceptionCopyright © 2021 Systemprogrammierung Mirko Sertic. All rights reserved.