public class TextValueDeserializer extends java.lang.Object implements IValueDeserializer
| Modifier | Constructor and Description |
|---|---|
protected |
TextValueDeserializer(java.nio.CharBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
static TextValueDeserializer |
create(java.nio.CharBuffer buffer) |
boolean |
getBoolean()
Retrieves a
boolean value from the underlying data source. |
byte |
getByte()
Retrieves a
byte value from the underlying data source. |
byte[] |
getBytes(byte[] target)
Retrieves raw data from the underlying data source.
|
char |
getChar()
Retrieves a
char value from the underlying data source. |
double |
getDouble()
Retrieves a
double value from the underlying data source. |
float |
getFloat()
Retrieves a
float value from the underlying data source. |
int |
getInt()
Retrieves an
int value from the underlying data source. |
long |
getLong()
Retrieves a
long value from the underlying data source. |
short |
getShort()
Retrieves a
short value from the underlying data source. |
java.lang.String |
getString()
Retrieves a
String value from the underlying data source. |
protected TextValueDeserializer(java.nio.CharBuffer buffer)
public static TextValueDeserializer create(java.nio.CharBuffer buffer)
public boolean getBoolean()
IValueDeserializerboolean value from the underlying data source.getBoolean in interface IValueDeserializerpublic byte getByte()
IValueDeserializerbyte value from the underlying data source.getByte in interface IValueDeserializerpublic char getChar()
IValueDeserializerchar value from the underlying data source.getChar in interface IValueDeserializerpublic short getShort()
IValueDeserializershort value from the underlying data source.getShort in interface IValueDeserializerpublic int getInt()
IValueDeserializerint value from the underlying data source.getInt in interface IValueDeserializerpublic long getLong()
IValueDeserializerlong value from the underlying data source.getLong in interface IValueDeserializerpublic float getFloat()
IValueDeserializerfloat value from the underlying data source.getFloat in interface IValueDeserializerpublic double getDouble()
IValueDeserializerdouble value from the underlying data source.getDouble in interface IValueDeserializerpublic java.lang.String getString()
IValueDeserializerString value from the underlying data source.getString in interface IValueDeserializerpublic byte[] getBytes(byte[] target)
IValueDeserializergetBytes in interface IValueDeserializertarget - The array to store the data inCopyright 2017 Kieker Project, http://kieker-monitoring.net