code: public String getPageContent(String pageTitle, String queryParams,
        boolean checkNotNull) throws Exception {
      Api api = getQueryResult("&prop=revisions&rvprop=content" + queryParams
          + "&titles=" + normalizeTitle(pageTitle));
      handleError(api);
      List<Page> pages = api.getQuery().getPages();
      String content = null;
      if (pages != null) {
        Page page = pages.get(0);
        if (page != null) {
          if (page.getRevisions().size() > 0) {
            content = page.getRevisions().get(0).getValue();
          }
        }
      }
      if (checkNotNull && content == null) {
        String errMsg = "pageTitle '" + pageTitle + "' not found";
        this.handleError(errMsg);
      }
      return content;
    }
docs: get the page Content for the given page Title
  
  @param pageTitle
  @param queryParams
  - extra query params e.g. for sections
  @param checkNotNull
  - check if the content should not be null
  @return the page Content
  @throws Exception