com.go.trove.io
Class CharToByteBufferWriter

java.lang.Object
  |
  +--java.io.Writer
        |
        +--com.go.trove.io.CharToByteBufferWriter
Direct Known Subclasses:
CharToByteBufferWriter

public class CharToByteBufferWriter
extends java.io.Writer

A Writer that writes into a CharToByteBuffer.

Version:
11 , 00/12/05
Author:
Brian S O'Neill

Fields inherited from class java.io.Writer
lock
 
Constructor Summary
CharToByteBufferWriter(CharToByteBuffer buffer)
           
 
Method Summary
 void close()
           
 void flush()
           
 void write(char[] chars)
           
 void write(char[] chars, int offset, int length)
           
 void write(int c)
           
 void write(java.lang.String str)
           
 void write(java.lang.String str, int offset, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharToByteBufferWriter

public CharToByteBufferWriter(CharToByteBuffer buffer)
Method Detail

write

public void write(int c)
           throws java.io.IOException
Overrides:
write in class java.io.Writer

write

public void write(char[] chars)
           throws java.io.IOException
Overrides:
write in class java.io.Writer

write

public void write(char[] chars,
                  int offset,
                  int length)
           throws java.io.IOException
Overrides:
write in class java.io.Writer

write

public void write(java.lang.String str)
           throws java.io.IOException
Overrides:
write in class java.io.Writer

write

public void write(java.lang.String str,
                  int offset,
                  int length)
           throws java.io.IOException
Overrides:
write in class java.io.Writer

flush

public void flush()
           throws java.io.IOException
Overrides:
flush in class java.io.Writer

close

public void close()
Overrides:
close in class java.io.Writer