Package org.apache.myfaces.util.lang
Class FastWriter
java.lang.Object
java.io.Writer
org.apache.myfaces.util.lang.FastWriter
- All Implemented Interfaces:
- Closeable,- Flushable,- Appendable,- AutoCloseable
StringWriter cannot be reused without create a new object over and over.
 This class provide a simple implementation that allows reuse the same buffer
 in a efficient way.
- Author:
- Jacob Hookom
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.io.Writerappend, append, append, nullWriter
- 
Constructor Details- 
FastWriterpublic FastWriter()
- 
FastWriterpublic FastWriter(int initialSize) 
 
- 
- 
Method Details- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Specified by:
- closein class- Writer
- Throws:
- IOException
 
- 
flush- Specified by:
- flushin interface- Flushable
- Specified by:
- flushin class- Writer
- Throws:
- IOException
 
- 
write- Specified by:
- writein class- Writer
- Throws:
- IOException
 
- 
write- Overrides:
- writein class- Writer
- Throws:
- IOException
 
- 
write- Overrides:
- writein class- Writer
- Throws:
- IOException
 
- 
write- Overrides:
- writein class- Writer
- Throws:
- IOException
 
- 
write- Overrides:
- writein class- Writer
- Throws:
- IOException
 
- 
resetpublic void reset()
- 
toString
 
-