List of usage examples for java.io ObjectInput read
public int read() throws IOException;
From source file:com.openlapi.AddressInfo.java
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { int attributeCount = in.read(); if (attributeCount > 0) { String[] attributes = StringUtils.split(in.readUTF(), ","); for (int i = 0; i < attributeCount; i++) { int attribute = Integer.valueOf(attributes[i]); setField(attribute + 1, in.readUTF()); }//from w w w .jav a 2 s.c o m } }