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

Method close

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

Calls #end() and closes the underlying writer.

()

Source from the content-addressed store, hash-verified

1016 * Calls {@link #end()} and closes the underlying writer.
1017 */
1018 @Override
1019 public void close()
1020 {
1021 end();
1022 try {
1023 writer.close();
1024 } catch (IOException e) {
1025 error = true;
1026 }
1027 }
1028
1029 private void writeStartTag(String tagName, Attribute... attributes) throws IOException
1030 {

Callers 1

toStringMethod · 0.45

Calls 1

endMethod · 0.95

Tested by

no test coverage detected