@Implements(value=libcore.io.MemoryMappedFile.class,
isInAndroidSdk=false)
public class ShadowMemoryMappedFile
extends Object
MemoryMappedFile.
This is used by Android to load and parse 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) |
long |
size() |
@Implementation public static libcore.io.MemoryMappedFile mmapRO(String path) throws android.system.ErrnoException
android.system.ErrnoException@Implementation
public void close()
throws android.system.ErrnoException
android.system.ErrnoException@Implementation public libcore.io.BufferIterator bigEndianIterator()
@Implementation public libcore.io.BufferIterator littleEndianIterator()
@Implementation public long size()
Copyright © 2015. All rights reserved.