Class HtmlFilterWriter
java.lang.Object
java.io.Writer
com.aquima.interactions.foundation.io.HtmlFilterWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
This Writer proxies a writer so that any html written to the writer is passed escaped to the underlying writer.
- Since:
- 5.0
- Author:
- F. van der Meer
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionHtmlFilterWriter
(Writer writer) Constructs the HTML filter writer with the writer whose content should be escaped. -
Method Summary
-
Constructor Details
-
HtmlFilterWriter
Constructs the HTML filter writer with the writer whose content should be escaped.- Parameters:
writer
- The writer whose content should be escaped.
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classWriter
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Specified by:
flush
in classWriter
- Throws:
IOException
-
write
- Specified by:
write
in classWriter
- Throws:
IOException
-