MCPcopy Create free account
hub / github.com/MTrop/DoomTools / end

Method end

src/main/java/net/mtrop/doom/tools/struct/HTMLWriter.java:987–993  ·  view source on GitHub ↗

Pops all pushed tags from the stack and flushes the stream. Meant to the paired with #start() or #start(String). @return this writer. @see #pop()

()

Source from the content-addressed store, hash-verified

985 * @see #pop()
986 */
987 public HTMLWriter end()
988 {
989 while (!tagStack.isEmpty())
990 pop();
991 flush();
992 return this;
993 }
994
995 /**
996 * Flushes the writer and then checks if an error happened.

Callers 4

closeMethod · 0.95
writeHTMLMethod · 0.80

Calls 3

popMethod · 0.95
flushMethod · 0.95
isEmptyMethod · 0.45

Tested by

no test coverage detected