docs: public static void writeObjectAsXml(File dest, Object bean) throws IOException {
  		XMLEncoder xmlenc = null;
  		try {
  			xmlenc = new XMLEncoder(FileUtil.getOutputStream(dest));
  			xmlenc.writeObject(bean);
  		} finally {
  			// 关闭XMLEncoder会相应关闭OutputStream
  			IoUtil.close(xmlenc);
  		}
  	}