public static class ParcelFileDescriptor.AutoCloseInputStream extends FileInputStream
| Constructor and Description |
|---|
AutoCloseInputStream(ParcelFileDescriptor pfd) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
available, finalize, getChannel, getFD, skipmark, markSupported, resetpublic AutoCloseInputStream(ParcelFileDescriptor pfd)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FileInputStreamIOExceptionpublic int read()
throws IOException
read in class FileInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class FileInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FileInputStreamIOExceptionCopyright © 2022. All rights reserved.