1 48 49 package com.caucho.hessian.io; 50 51 import java.io.IOException ; 52 53 56 public class AbstractListDeserializer extends AbstractDeserializer { 57 public Object readObject(AbstractHessianInput in) 58 throws IOException  59 { 60 int code = in.readListStart(); 61 62 if (code == 'N') 63 return null; 64 else if (code == 'R') 65 return in.readRef(); 66 67 String type = in.readType(); 68 int length = in.readLength(); 69 70 return readList(in, length); 71 } 72 } 73 | Popular Tags |