Package org.robolectric.shadows
Class ShadowStringBlock
java.lang.Object
org.robolectric.shadows.ShadowStringBlock
@Implements(className="android.content.res.StringBlock",
isInAndroidSdk=false)
public class ShadowStringBlock
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static longnativeCreate(byte[] data, int offset, int size) protected static voidnativeDestroy(long obj) protected static intnativeGetSize(long nativeId) protected static StringnativeGetString(long nativeId, int index) protected static int[]nativeGetStyle(long obj, int idx) static voidreset()
-
Constructor Details
-
ShadowStringBlock
public ShadowStringBlock()
-
-
Method Details
-
nativeCreate
@Implementation protected static long nativeCreate(byte[] data, int offset, int size) -
nativeGetSize
@Implementation protected static int nativeGetSize(long nativeId) -
nativeGetString
-
nativeGetStyle
@Implementation protected static int[] nativeGetStyle(long obj, int idx) -
nativeDestroy
@Implementation protected static void nativeDestroy(long obj) -
reset
@Resetter public static void reset()
-