Package org.thymeleaf.util
Class FastStringWriter
-
-
- org.thymeleaf.util.FastStringWriter
-
-
- All Implemented Interfaces:
,
,
public final class FastStringWriter extends
Fast implementation of that avoids the need to use a thread-safe .
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
-
Constructor Summary
Constructors Constructor Description FastStringWriter()
FastStringWriter(int initialSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
flush()
toString()
void
write(char[] cbuf)
void
write(char[] cbuf, int off, int len)
void
write(int c)
void
str)
void
str, int off, int len)
-
-
-
Method Detail
-
write
public void write(int c)
- Overrides:
in class
-
write
public void write( str)
- Overrides:
in class
-
write
public void write( str, int off, int len)
- Overrides:
in class
-
write
public void write(char[] cbuf)
- Overrides:
in class
-
write
public void write(char[] cbuf, int off, int len)
- Specified by:
in class
-
flush
public void flush() throws
- Specified by:
in interface
- Specified by:
in class
- Throws:
-
close
public void close() throws
- Specified by:
in interface
- Specified by:
in class
- Throws:
-
toString
public toString()
- Overrides:
in class
-
-