MCPcopy Create free account
hub / github.com/Zzzia/NetRobot / setText

Method setText

src/util/regexUtil/RegexUtil.java:150–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148 }
149
150 private void setText() {
151 Matcher matcher = Pattern.compile("<.*?>([\\s\\S]*)<.*?>").matcher(getHtml());
152 if (matcher.find())
153 text = matcher.group(1);
154 if (text == null) text = "";
155 }
156
157 public String getHtml() {
158 return html;

Callers 3

getTextMethod · 0.95
startMethod · 0.80
appendContentMethod · 0.80

Calls 1

getHtmlMethod · 0.95

Tested by

no test coverage detected