Package org.robolectric.shadows
Class ShadowLegacyAssetInputStream
- java.lang.Object
-
- org.robolectric.shadows.ShadowAssetInputStream
-
- org.robolectric.shadows.ShadowLegacyAssetInputStream
-
@Implements(value=android.content.res.AssetManager.AssetInputStream.class, shadowPicker=Picker.class) public class ShadowLegacyAssetInputStream extends ShadowAssetInputStream
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.robolectric.shadows.ShadowAssetInputStream
ShadowAssetInputStream.Picker
-
-
Constructor Summary
Constructors Constructor Description ShadowLegacyAssetInputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intavailable()protected voidclose()protected voidmark(int readlimit)protected booleanmarkSupported()protected intread()protected intread(byte[] b)protected intread(byte[] b, int off, int len)protected voidreset()protected longskip(long n)
-
-
-
Method Detail
-
read
@Implementation protected int read() throws IOException
- Throws:
IOException
-
read
@Implementation protected int read(byte[] b) throws IOException
- Throws:
IOException
-
read
@Implementation protected int read(byte[] b, int off, int len) throws IOException
- Throws:
IOException
-
skip
@Implementation protected long skip(long n) throws IOException
- Throws:
IOException
-
available
@Implementation protected int available() throws IOException
- Throws:
IOException
-
close
@Implementation protected void close() throws IOException
- Throws:
IOException
-
mark
@Implementation protected void mark(int readlimit)
-
reset
@Implementation protected void reset() throws IOException
- Throws:
IOException
-
markSupported
@Implementation protected boolean markSupported()
-
-