Closeable, AutoCloseablepublic class OptimizedFileInputStream extends InputStream
FileOutputStream.
| Constructor | Description |
|---|---|
OptimizedFileInputStream(File file) |
|
OptimizedFileInputStream(FileDescriptor fileDescriptor) |
|
OptimizedFileInputStream(String name) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
available() |
|
void |
close() |
|
int |
read() |
|
int |
read(byte[] b) |
|
int |
read(byte[] b,
int off,
int len) |
|
long |
skip(long n) |
mark, markSupported, readAllBytes, readNBytes, reset, transferTopublic OptimizedFileInputStream(File file) throws FileNotFoundException
FileNotFoundExceptionpublic OptimizedFileInputStream(String name) throws FileNotFoundException
FileNotFoundExceptionpublic OptimizedFileInputStream(FileDescriptor fileDescriptor)
public int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read()
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()
throws IOException
close in interface AutoCloseableclose in interface Closeableclose in class InputStreamIOExceptionCopyright © 2017–2018 PureSol Technologies. All rights reserved.