|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.core.EscObject
org.eclipse.soda.dk.parameter.BaseParameter
org.eclipse.soda.dk.parameter.BaseKeyParameter
org.eclipse.soda.dk.parameter.Block
org.eclipse.soda.dk.block.BytesBlock
public class BytesBlock
| Field Summary |
|---|
| Fields inherited from class org.eclipse.soda.dk.parameter.BaseKeyParameter |
|---|
key |
| Fields inherited from class org.eclipse.soda.dk.parameter.BaseParameter |
|---|
BIT_MASKS, MASKS, SET_MASKS, SET_TOP_MASKS |
| Fields inherited from interface org.eclipse.soda.dk.parameter.service.BlockService |
|---|
SERVICE_NAME |
| Fields inherited from interface org.eclipse.soda.dk.parameter.service.ParameterService |
|---|
ARRAY, ASCII, ASCIIZ, BOOLEAN, BYTE, BYTES, DOUBLE, FLOAT, HEXASCII, HEXSTRING, INSERT, INTEGER, LITTLEENDIAN, LONG, NASCII, NSTRING, NULL, SHORT, STRING, UNLIMITED, UNSIGNED, USE_CURSOR, USE_CURSOR_INSERT |
| Constructor Summary | |
|---|---|
BytesBlock()
Constructs an instance of this class. |
|
BytesBlock(byte[] bytes)
Constructs an instance of this class from the specified bytes parameter. |
|
BytesBlock(byte[] bytes,
int length)
Constructs an instance of this class from the specified bytes and length parameters. |
|
BytesBlock(int length)
Constructs an instance of this class from the specified length parameter. |
|
BytesBlock(java.lang.String key)
Constructs an instance of this class from the specified key parameter. |
|
BytesBlock(java.lang.String key,
byte[] bytes,
int length)
Constructs an instance of this class from the specified key, bytes and length parameters. |
|
BytesBlock(java.lang.String key,
int length)
Constructs an instance of this class from the specified key and length parameters. |
|
| Method Summary | |
|---|---|
java.lang.Object |
decodeBytes(byte[] container,
ParameterCursorService cursor)
Decode bytes with the specified container and cursor parameters and return the Object result. |
byte[] |
encodeBytes(byte[] container,
java.lang.Object data,
ParameterCursorService cursor)
Encode bytes with the specified container, data and cursor parameters and return the byte[] result. |
byte[] |
getBytes()
Gets the bytes (byte[]) value. |
int |
getLength()
Gets the length (int) value. |
void |
setBytes(byte[] bytes)
Sets the bytes value. |
void |
setLength(int length)
Sets the length value. |
| Methods inherited from class org.eclipse.soda.dk.parameter.Block |
|---|
isConstantParameter |
| Methods inherited from class org.eclipse.soda.dk.parameter.BaseKeyParameter |
|---|
getKey, setKey |
| Methods inherited from class org.eclipse.soda.dk.parameter.BaseParameter |
|---|
createCursorChild, decode, decodeEnd, decodeString, decodeValue, decodeValue, encode, encodeData, encodeString, encodeValue, encodeValue, expand, expand, getAbsoluteOffset, getBytes, getDefaultStyle, getLength, getLittleEndianLong, getLong, getOffset, getOffsetAbsolute, getOffsetDefault, getOffsetLength, getOffsetValue, getUnsignedInteger, getUnsignedLittleEndianLong, getUnsignedLittleEngianLong, getUnsignedLong, isInsert, isInsert, needsCursor, setBits, setBits, setBits, setBitsLittleEngian, setBytes, setBytes, setBytes, setBytesLittleEndian, updateCursor, updateCursor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.soda.dk.parameter.service.ParameterService |
|---|
decodeValue, decodeValue, encodeValue, encodeValue, getKey |
| Methods inherited from interface org.eclipse.soda.dk.data.parameter.service.DataParameterService |
|---|
decode, encode |
| Constructor Detail |
|---|
public BytesBlock()
BytesBlock(byte[]),
BytesBlock(byte[],int),
BytesBlock(int),
BytesBlock(String),
BytesBlock(String,byte[],int),
BytesBlock(String,int)public BytesBlock(byte[] bytes)
bytes - The bytes (byte[]) parameter.BytesBlock(),
BytesBlock(byte[],int),
BytesBlock(int),
BytesBlock(String),
BytesBlock(String,byte[],int),
BytesBlock(String,int)
public BytesBlock(byte[] bytes,
int length)
bytes - The bytes (byte[]) parameter.length - The length (int) parameter.BytesBlock(),
BytesBlock(byte[]),
BytesBlock(int),
BytesBlock(String),
BytesBlock(String,byte[],int),
BytesBlock(String,int)public BytesBlock(int length)
length - The length (int) parameter.BytesBlock(),
BytesBlock(byte[]),
BytesBlock(byte[],int),
BytesBlock(String),
BytesBlock(String,byte[],int),
BytesBlock(String,int)public BytesBlock(java.lang.String key)
key - The key (String) parameter.BytesBlock(),
BytesBlock(byte[]),
BytesBlock(byte[],int),
BytesBlock(int),
BytesBlock(String,byte[],int),
BytesBlock(String,int)
public BytesBlock(java.lang.String key,
byte[] bytes,
int length)
key - The key (String) parameter.bytes - The bytes (byte[]) parameter.length - The length (int) parameter.BytesBlock(),
BytesBlock(byte[]),
BytesBlock(byte[],int),
BytesBlock(int),
BytesBlock(String),
BytesBlock(String,int)
public BytesBlock(java.lang.String key,
int length)
key - The key (String) parameter.length - The length (int) parameter.BytesBlock(),
BytesBlock(byte[]),
BytesBlock(byte[],int),
BytesBlock(int),
BytesBlock(String),
BytesBlock(String,byte[],int)| Method Detail |
|---|
public java.lang.Object decodeBytes(byte[] container,
ParameterCursorService cursor)
decodeBytes in class BaseParametercontainer - The container (byte[]) parameter.cursor - The cursor (ParameterCursorService) parameter.
Object) value.encodeBytes(byte[],Object,ParameterCursorService),
getBytes(),
setBytes(byte[])
public byte[] encodeBytes(byte[] container,
java.lang.Object data,
ParameterCursorService cursor)
encodeBytes in class BaseParametercontainer - The container (byte[]) parameter.data - The data (Object) parameter.cursor - The cursor (ParameterCursorService) parameter.
byte[]) value.decodeBytes(byte[],ParameterCursorService),
getBytes(),
setBytes(byte[])public byte[] getBytes()
byte[]) value.decodeBytes(byte[],ParameterCursorService),
encodeBytes(byte[],Object,ParameterCursorService),
setBytes(byte[])public int getLength()
getLength in class BaseParameterint) value.setLength(int)public void setBytes(byte[] bytes)
bytes - The bytes (byte[]) parameter.decodeBytes(byte[],ParameterCursorService),
encodeBytes(byte[],Object,ParameterCursorService),
getBytes()public void setLength(int length)
length - The length (int) parameter.getLength()
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||