android.content.res
Class AssetFileDescriptor.AutoCloseInputStream
java.lang.Object
java.io.InputStream
java.io.FileInputStream
android.os.ParcelFileDescriptor.AutoCloseInputStream
android.content.res.AssetFileDescriptor.AutoCloseInputStream
- All Implemented Interfaces:
- Closeable
- Enclosing class:
- AssetFileDescriptor
public static class AssetFileDescriptor.AutoCloseInputStream
- extends ParcelFileDescriptor.AutoCloseInputStream
AssetFileDescriptor.AutoCloseInputStream
public AssetFileDescriptor.AutoCloseInputStream(AssetFileDescriptor fd)
throws IOException
- Throws:
IOException
available
public int available()
throws IOException
- Overrides:
available
in class FileInputStream
- Throws:
IOException
read
public int read()
throws IOException
- Overrides:
read
in class FileInputStream
- Throws:
IOException
read
public int read(byte[] buffer,
int offset,
int count)
throws IOException
- Overrides:
read
in class FileInputStream
- Throws:
IOException
read
public int read(byte[] buffer)
throws IOException
- Overrides:
read
in class FileInputStream
- Throws:
IOException
skip
public long skip(long count)
throws IOException
- Overrides:
skip
in class FileInputStream
- Throws:
IOException
mark
public void mark(int readlimit)
- Overrides:
mark
in class InputStream
markSupported
public boolean markSupported()
- Overrides:
markSupported
in class InputStream
reset
public void reset()
throws IOException
- Overrides:
reset
in class InputStream
- Throws:
IOException
Copyright © 2008-2012. All Rights Reserved.