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()
()
| 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. |
no test coverage detected