code: public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
     {
        byte[] buf = new byte[in.readInt()];
        in.readFully(buf);
        serverUrl = new String(buf, Constants.DEFAULT_ENCODING);
  
        buf = new byte[in.readInt()];
        in.readFully(buf);
        dbScriptPath = new String(buf, Constants.DEFAULT_ENCODING);
  
        buf = new byte[in.readInt()];
        in.readFully(buf);
        dbUserName = new String(buf, Constants.DEFAULT_ENCODING);
  
        buf = new byte[in.readInt()];
        in.readFully(buf);
        dbPassword = new String(buf, Constants.DEFAULT_ENCODING);
  
        int count = in.readInt();
        connProps = new HashMap<String, String>(count);
  
        for (int i = 0; i < count; i++)
        {
           buf = new byte[in.readInt()];
           in.readFully(buf);
           String key = new String(buf, Constants.DEFAULT_ENCODING);
  
           buf = new byte[in.readInt()];
           in.readFully(buf);
           String value = new String(buf, Constants.DEFAULT_ENCODING);
  
           connProps.put(key, value);
        }
     }
docs: {@inheritDoc}