public class ResStringPool
extends java.lang.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(java.lang.String str) |
boolean |
isUTF8() |
int |
setTo(java.nio.ByteBuffer buf,
int offset,
int size,
boolean copyData) |
int |
size() |
java.lang.String |
string8At(int id,
Ref<java.lang.Integer> outLen) |
java.lang.String |
stringAt(int idx) |
ResourceTypes.ResStringPool_span |
styleAt(int idx) |
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public long getNativePtr()
public static ResStringPool getNativeObject(long nativeId)
public int setTo(java.nio.ByteBuffer buf, int offset, int size, boolean copyData)
public java.lang.String stringAt(int idx)
public java.lang.String string8At(int id, Ref<java.lang.Integer> outLen)
public final ResourceTypes.ResStringPool_span styleAt(int idx)
public int indexOfString(java.lang.String str)
public int size()
public boolean isUTF8()
public int getError()