Package i2p.susi.util
Class EscapeHTMLWriter
java.lang.Object
java.io.Writer
java.io.FilterWriter
i2p.susi.util.EscapeHTMLWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
Escape HTML on the fly.
Streaming version of DataHelper.escapeHTML(),
and we escape '-' too since we stick debugging stuff inside comments,
and '--' is disallowed inside comments.
- Since:
- 0.9.34
-
Field Summary
Fields inherited from class java.io.FilterWriter
out -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterWriter
flush
-
Constructor Details
-
EscapeHTMLWriter
-
-
Method Details
-
write
- Overrides:
writein classFilterWriter- Throws:
IOException
-
write
- Overrides:
writein classFilterWriter- Throws:
IOException
-
write
- Overrides:
writein classFilterWriter- Throws:
IOException
-
close
public void close()Does nothing. Does not close the underlying writer.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterWriter
-