public class ResStringPool extends Object
Convenience class for accessing data in a ResStringPool resource.
Constructor and Description |
---|
ResStringPool() |
Modifier and Type | Method and 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) |
protected void finalize() throws Throwable
public long getNativePtr()
public static ResStringPool getNativeObject(long nativeId)
public int setTo(ByteBuffer buf, int offset, int size, boolean copyData)
public String stringAt(int idx)
public final ResourceTypes.ResStringPool_span styleAt(int idx)
public int indexOfString(String str)
public int size()
public boolean isUTF8()
public int getError()