Package org.robolectric.res.android
Class ResStringPool
java.lang.Object
org.robolectric.res.android.ResStringPool
public class ResStringPool extends Object
Convenience class for accessing data in a ResStringPool resource.
-
Constructor Summary
Constructors Constructor Description ResStringPool()
-
Method Summary
Modifier and Type Method Description protected void
finalize()
int
getError()
static ResStringPool
getNativeObject(long nativeId)
long
getNativePtr()
int
indexOfString(String str)
boolean
isUTF8()
int
setTo(ByteBuffer buf, int offset, int size, boolean copyData)
int
size()
String
string8At(int id, Ref<Integer> outLen)
String
stringAt(int idx)
ResourceTypes.ResStringPool_span
styleAt(int idx)
-
Constructor Details
-
ResStringPool
public ResStringPool()
-
-
Method Details
-
finalize
-
getNativePtr
public long getNativePtr() -
getNativeObject
-
setTo
-
stringAt
-
string8At
-
styleAt
-
indexOfString
-
size
public int size() -
isUTF8
public boolean isUTF8() -
getError
public int getError()
-