1 48 49 package com.caucho.hessian.io; 50 51 import java.io.IOException ; 52 53 56 public interface Deserializer { 57 public Class getType(); 58 59 public Object readObject(AbstractHessianInput in) 60 throws IOException ; 61 62 public Object readList(AbstractHessianInput in, int length) 63 throws IOException ; 64 65 public Object readLengthList(AbstractHessianInput in, int length) 66 throws IOException ; 67 68 public Object readMap(AbstractHessianInput in) 69 throws IOException ; 70 71 public Object readObject(AbstractHessianInput in, String []fieldNames) 72 throws IOException ; 73 } 74 | Popular Tags |