Example #1
0
 public void setBody(String body) throws Exception {
   this.body = URLEncoder.encode(body, "UTF-8");
   // this.body = body;
 }
Example #2
0
 public void setHeadline(String headline) throws Exception {
   this.headline = URLEncoder.encode(headline, "UTF-8");
   // this.headline = headline;
 }