|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectprotocol.core.UtilsConvert
public class UtilsConvert
Classe de utilidades para conversão de objetos e bytes
| Constructor Summary | |
|---|---|
UtilsConvert()
|
|
| Method Summary | |
|---|---|
static void |
convBytesToObject(IPersist obj,
byte[] data)
Popula o objeto a partir do buffer de aplicação |
static byte[] |
convObjectToBytes(IPersist obj)
Cria o buffer de aplicação a partir do objeto do comando |
static int |
getCode(IPersist persist)
Retorna o código do comando |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UtilsConvert()
| Method Detail |
|---|
public static byte[] convObjectToBytes(IPersist obj)
obj - Objeto do comando
public static void convBytesToObject(IPersist obj,
byte[] data)
obj - Objeto a ser populadodata - Buffer de aplicaçãopublic static int getCode(IPersist persist)
persist -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||