Class TextAsHTMLWriter
java.lang.Object
java.io.Writer
com.webmethods.caf.common.markup.html.TextAsHTMLWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
Adds
[HTML line break] after \n [linefeed character]; replaces ' ' [two-spaces] with ' ' [space + non-breaking space]; replaces \t [tab] with ' ' [four spaces].
[HTML line break] after \n [linefeed character]; replaces ' ' [two-spaces] with ' ' [space + non-breaking space]; replaces \t [tab] with ' ' [four spaces].
-
Field Details
-
m_out
-
m_single
protected char[] m_single -
m_space
protected boolean m_space
-
-
Constructor Details
-
TextAsHTMLWriter
public TextAsHTMLWriter() -
TextAsHTMLWriter
-
-
Method Details
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Specified by:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Specified by:
flush
in classWriter
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classWriter
- Throws:
IOException
-
getOut
-
setOut
-