@Implements(value=libcore.io.MemoryMappedFile.class, isInAndroidSdk=false) public class ShadowMemoryMappedFile extends Object
This is used by Android to load and inferFromValue time zone information. Robolectric emulates this functionality by proxying to a time zone database file packaged into the android-all jar.
| Constructor and Description |
|---|
ShadowMemoryMappedFile() |
| Modifier and Type | Method and Description |
|---|---|
libcore.io.BufferIterator |
bigEndianIterator() |
void |
close() |
libcore.io.BufferIterator |
littleEndianIterator() |
static libcore.io.MemoryMappedFile |
mmapRO(String path) |
int |
size() |
@Implementation public static libcore.io.MemoryMappedFile mmapRO(String path) throws Throwable
Throwable@Implementation public void close() throws Exception
Exception@Implementation public libcore.io.BufferIterator bigEndianIterator()
@Implementation public libcore.io.BufferIterator littleEndianIterator()
@Implementation public int size()