Changeset 25


Ignore:
Timestamp:
05/28/13 16:12:48 (11 years ago)
Author:
gguerrero
Message:

Public method -> Object deserialize(bytes)

Location:
trunk/objectmq/src/omq/common/util/Serializers
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/objectmq/src/omq/common/util/Serializers/GsonImp.java

    r16 r25  
    7676                try {
    7777                        String json = new String(bytes);
    78 System.out.println(json);
     78                        System.out.println(json);
     79                       
    7980                        JsonParser parser = new JsonParser();
    8081                        JsonObject jsonObj = parser.parse(json).getAsJsonObject();
  • trunk/objectmq/src/omq/common/util/Serializers/JavaImp.java

    r17 r25  
    5959        }
    6060
    61         private Object deserliazeObject(byte[] bytes) throws SerializerException {
     61        public Object deserliazeObject(byte[] bytes) throws SerializerException {
    6262                try {
    6363                        ByteArrayInputStream input = new ByteArrayInputStream(bytes);
  • trunk/objectmq/src/omq/common/util/Serializers/KryoImp.java

    r16 r25  
    5959        }
    6060
    61         private Object deserializeObject(byte[] bytes, Class<?> type) throws SerializerException {
     61        public Object deserializeObject(byte[] bytes, Class<?> type) throws SerializerException {
    6262                try {
    6363                        Input input = new Input(bytes);
Note: See TracChangeset for help on using the changeset viewer.