public class MetaValue extends Object
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_BMP |
static int |
TYPE_FLOAT_32 |
static int |
TYPE_FLOAT_64 |
static int |
TYPE_INT_16 |
static int |
TYPE_INT_32 |
static int |
TYPE_INT_8 |
static int |
TYPE_INT_V |
static int |
TYPE_JPEG |
static int |
TYPE_PNG |
static int |
TYPE_STRING_UTF16 |
static int |
TYPE_STRING_UTF8 |
static int |
TYPE_UINT_V |
Modifier and Type | Method and Description |
---|---|
static MetaValue |
createFloat(float value) |
static MetaValue |
createInt(int value) |
static MetaValue |
createOther(int type,
byte[] data) |
static MetaValue |
createOtherWithLocale(int type,
int locale,
byte[] data) |
static MetaValue |
createString(String value) |
byte[] |
getData() |
double |
getFloat() |
int |
getInt() |
int |
getLocale() |
String |
getString() |
int |
getType() |
boolean |
isBlob() |
boolean |
isFloat() |
boolean |
isInt() |
boolean |
isString() |
String |
toString() |
public static final int TYPE_STRING_UTF16
public static final int TYPE_STRING_UTF8
public static final int TYPE_FLOAT_64
public static final int TYPE_FLOAT_32
public static final int TYPE_INT_32
public static final int TYPE_INT_16
public static final int TYPE_INT_8
public static final int TYPE_INT_V
public static final int TYPE_UINT_V
public static final int TYPE_JPEG
public static final int TYPE_PNG
public static final int TYPE_BMP
public static MetaValue createInt(int value)
public static MetaValue createFloat(float value)
public static MetaValue createOther(int type, byte[] data)
public static MetaValue createOtherWithLocale(int type, int locale, byte[] data)
public int getInt()
public double getFloat()
public String getString()
public boolean isInt()
public boolean isString()
public boolean isFloat()
public int getType()
public int getLocale()
public byte[] getData()
public boolean isBlob()
Copyright © 2019. All rights reserved.