com.webmethods.rtl.encode
Class Encoder.FixedCharArrayWriter

java.lang.Object
  extended by java.io.Writer
      extended by java.io.CharArrayWriter
          extended by com.webmethods.rtl.encode.Encoder.FixedCharArrayWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable
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.


Field Summary
 
Fields inherited from class java.io.CharArrayWriter
buf, count
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
Encoder.FixedCharArrayWriter(char[] buf, int offset)
           
 
Method Summary
 
Methods inherited from class java.io.CharArrayWriter
append, append, append, close, flush, reset, size, toCharArray, toString, write, write, write, writeTo
 
Methods inherited from class java.io.Writer
write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Encoder.FixedCharArrayWriter

public Encoder.FixedCharArrayWriter(char[] buf,
                                    int offset)