code: public static String getAttributeInInfo(String info, String attribute) {
          if (info == null || "".equals(info))
              return null;
          if (attribute == null || "".equals(attribute))
              return null;
  
          String[] infos = info.split("\r\n");
  
          for (String _info : infos) {
              if (_info.startsWith(attribute)) {
                  String[] keyValue = _info.split(":");
                  if (keyValue[0].equals(attribute))
                      return keyValue[1];
              }
          }
  
          return null;
      }
docs: 根据 info 获取具体属性的值
  
  @param info      info
  @param attribute attribute name
  @return attribute in info