Class Encoder.FixedCharArrayWriter

java.lang.Object
java.io.Writer
java.io.CharArrayWriter
com.webmethods.rtl.encode.Encoder.FixedCharArrayWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable
Enclosing class:
Encoder

protected class Encoder.FixedCharArrayWriter extends CharArrayWriter
CharArrayWriter that allows one to specify the char array buffer in which to write. If the the number of chars written to this writer exceeds the size of the specified buf, the extra chars simply will not be stored.
  • Constructor Details

    • FixedCharArrayWriter

      public FixedCharArrayWriter(char[] buf, int offset)