public static class AssetFileDescriptor.AutoCloseInputStream extends ParcelFileDescriptor.AutoCloseInputStream
| Constructor and Description |
|---|
AssetFileDescriptor.AutoCloseInputStream(AssetFileDescriptor fd) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] buffer) |
int |
read(byte[] buffer,
int offset,
int count) |
void |
reset() |
long |
skip(long count) |
closefinalize, getChannel, getFDpublic AssetFileDescriptor.AutoCloseInputStream(AssetFileDescriptor fd) throws IOException
IOExceptionpublic int available()
throws IOException
available in class FileInputStreamIOExceptionpublic int read()
throws IOException
read in class FileInputStreamIOExceptionpublic int read(byte[] buffer,
int offset,
int count)
throws IOException
read in class FileInputStreamIOExceptionpublic int read(byte[] buffer)
throws IOException
read in class FileInputStreamIOExceptionpublic long skip(long count)
throws IOException
skip in class FileInputStreamIOExceptionpublic void mark(int readlimit)
mark in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic void reset()
throws IOException
reset in class InputStreamIOExceptionCopyright © 2008-2013. All Rights Reserved.