Code example for ObjectInput

Methods: readUTFreadObject

0
    } 
 
    @Override 
    public void readExternal(ObjectInput in) throws IOException,
            ClassNotFoundException {
        this.value = in.readObject();
        String type = in.readUTF();
        if (!"".equals(type)) {
            this.expectedType = ReflectionUtil.forName(type);
        } 
    } 
} 
Connect your IDE to all the code out there  Get Codota for Java