Code example for ObjectOutput

Methods: writeUTFwriteObject

0
    public void readExternal(ObjectInput in) throws IOException,
            ClassNotFoundException { 
        this.value = in.readObject();
        String type = in.readUTF();
        if (!"".equals(type)) {
            this.expectedType = ReflectionUtil.forName(type);
        } 
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE