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 int
available()
protected void
close()
protected void
mark(int readlimit)
protected boolean
markSupported()
protected int
read()
protected int
read(byte[] b)
protected int
read(byte[] b, int off, int len)
protected void
reset()
protected long
skip(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()
-
-