Beispiel #1
0
 public void setContent(String content) {
   this.content = content;
   Document doc = Jsoup.parse(content);
   Elements docTitle = doc.select("title");
   if (docTitle.hasText()) {
     this.title = docTitle.text();
   }
 }