MCPcopy Create free account
hub / github.com/annmuor/jnode / print

Method print

jnode-rss-module/src/jnode/altrssposter/RssPoster.java:105–118  ·  view source on GitHub ↗
(StringBuilder sb, List<SyndEntry> entries)

Source from the content-addressed store, hash-verified

103 }
104
105 private static void print(StringBuilder sb, List<SyndEntry> entries) {
106 for (int i = entries.size() - 1; i >= 0; --i) {
107 SyndEntry entry = entries.get(i);
108
109 sb.append("*");
110 sb.append(Cleaner.clean(entry.getTitle(), true));
111 sb.append("*");
112 sb.append("\n\n");
113 sb.append(Cleaner.clean(entry.getDescription().getValue(), false));
114 sb.append("\nRead more: ");
115 sb.append(entry.getLink());
116 sb.append("\n----------------------------------------------------------------------\n\n");
117 }
118 }
119
120}

Callers 1

fillMethod · 0.95

Calls 6

cleanMethod · 0.95
appendMethod · 0.80
getMethod · 0.45
getValueMethod · 0.45
getDescriptionMethod · 0.45
getLinkMethod · 0.45

Tested by

no test coverage detected