public class BytesField extends DCField
| Modifier and Type | Field and Description |
|---|---|
static int |
LENGTH |
| Constructor and Description |
|---|
BytesField() |
BytesField(FieldKey key) |
BytesField(FieldKey id,
byte[] val) |
BytesField(int id,
byte[] val)
Deprecated.
Use new BytesField(FieldKey,byte[])
|
BytesField(java.lang.String id,
byte[] val)
Deprecated.
Use new BytesField(FieldKey,byte[])
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getStringValue() |
int |
getType() |
void |
setValue(java.lang.String s)
Sets the value of this BytesField from the given String
|
clone, create, dup, equals, equalsValue, getBytes, getBytesValue, getByteValue, getDateValue, getDCField, getDCField, getDCField, getDoubleValue, getFloatValue, getID, getIntValue, getKey, getLength, getLongValue, getShortValue, getStaticAttrLength, init, init, init, isEmpty, isVarLength, makeAttrfromBytes, makeAttrfromBytes, makeAttrfromBytes, makeAttrfromBytes, makeAttrfromStream, readValueFromStream, setID, setID, setKey, setType, setValue, toString, writeValueToStreampublic static final int LENGTH
public BytesField()
public BytesField(FieldKey key)
public BytesField(FieldKey id, byte[] val)
public BytesField(int id,
byte[] val)
public BytesField(java.lang.String id,
byte[] val)
public void setValue(java.lang.String s)
throws NDKException
NDKExceptionpublic int getType()
public java.lang.String getStringValue()
throws java.lang.ClassCastException
getStringValue in class DCFieldjava.lang.ClassCastException