MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / parsePlainText

Method parsePlainText

src/main/java/xml/XMLParser.java:249–251  ·  view source on GitHub ↗
(StringBuffer sb)

Source from the content-addressed store, hash-verified

247 };
248
249 private String parsePlainText(StringBuffer sb) throws XMLException, UnsupportedEncodingException {
250 return StringUtils.unescapeTags(new String(sb.toString().getBytes("ISO8859-1"), "UTF-8"));
251 }
252
253 public void pushOutPlainText() throws XMLException, UnsupportedEncodingException {
254 if (state==PLAIN_TEXT) {

Callers 2

parseMethod · 0.95
pushOutPlainTextMethod · 0.95

Calls 3

unescapeTagsMethod · 0.95
getBytesMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected