\n");
+ for (TorrentFile torrentFile : torrentFiles) {
+ htmlText.append("- ").append(StringEscapeUtils.escapeHtml4(torrentFile.name())).append("
");
+ htmlText.append("Size: ").append(StringEscapeUtils.escapeHtml4(torrentFile.size())).append(" in ").append(torrentFile.fileCount()).append(" file(s)
");
+ htmlText.append("").append(torrentFile.seedCount()).append(" seed(s), ").append(torrentFile.leechCount()).append(" leecher(s)
");
+ htmlText.append(String.format("", StringEscapeUtils.escapeHtml4(torrentFile.magnetUri())));
+ htmlText.append(String.format("", StringEscapeUtils.escapeHtml4(torrentFile.downloadUri())));
+ }
+ htmlText.append("
\n");
+ htmlText.append("\n");
+ return htmlText.toString();
+ }
+
+}