Package org.nuxeo.common.utils
Class TextTemplate.EscapeVariableFilter
- java.lang.Object
-
- java.io.Writer
-
- java.io.FilterWriter
-
- org.nuxeo.common.utils.TextTemplate.EscapeVariableFilter
-
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
- Enclosing class:
- TextTemplate
protected static class TextTemplate.EscapeVariableFilter extends FilterWriter
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
DOLLAR_SIGN
protected int
last
-
Fields inherited from class java.io.FilterWriter
out
-
-
Constructor Summary
Constructors Constructor Description EscapeVariableFilter(Writer out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(char[] cbuf)
void
write(char[] cbuf, int off, int len)
void
write(int b)
-
Methods inherited from class java.io.FilterWriter
close, flush, write
-
-
-
-
Constructor Detail
-
EscapeVariableFilter
public EscapeVariableFilter(Writer out)
-
-
Method Detail
-
write
public void write(int b) throws IOException
- Overrides:
write
in classFilterWriter
- Throws:
IOException
-
write
public void write(char[] cbuf, int off, int len) throws IOException
- Overrides:
write
in classFilterWriter
- Throws:
IOException
-
write
public void write(char[] cbuf) throws IOException
- Overrides:
write
in classWriter
- Throws:
IOException
-
-