@Implements(value=libcore.io.MemoryMappedFile.class, isInAndroidSdk=false) public class ShadowMemoryMappedFile extends java.lang.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(java.lang.String path) |
int |
size() |
@Implementation public static libcore.io.MemoryMappedFile mmapRO(java.lang.String path) throws java.lang.Throwable
java.lang.Throwable@Implementation public void close() throws java.lang.Exception
java.lang.Exception@Implementation public libcore.io.BufferIterator bigEndianIterator()
@Implementation public libcore.io.BufferIterator littleEndianIterator()
@Implementation public int size()