lejos.io
Class LejosOutputStreamWriter

java.lang.Object
  extended by java.io.Writer
      extended by lejos.io.LejosOutputStreamWriter
Direct Known Subclasses:
OutputStreamWriter

public class LejosOutputStreamWriter
extends Writer

Abstract Single Byte Character Set OutputStream Writer.

Author:
Sven Köhler

Constructor Summary
LejosOutputStreamWriter(OutputStream os, CharsetEncoder coder, int buffersize)
           
 
Method Summary
 Writer append(char c)
           
 Writer append(CharSequence str, int start, int end)
           
 void close()
           
 void flush()
           
 void write(char[] c, int off, int len)
           
 void write(int c)
           
 void write(String str, int off, int len)
           
 
Methods inherited from class java.io.Writer
append, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LejosOutputStreamWriter

public LejosOutputStreamWriter(OutputStream os,
                               CharsetEncoder coder,
                               int buffersize)
Method Detail

append

public Writer append(char c)
              throws IOException
Overrides:
append in class Writer
Throws:
IOException

append

public Writer append(CharSequence str,
                     int start,
                     int end)
              throws IOException
Overrides:
append in class Writer
Throws:
IOException

write

public void write(int c)
           throws IOException
Overrides:
write in class Writer
Throws:
IOException

write

public void write(String str,
                  int off,
                  int len)
           throws IOException
Overrides:
write in class Writer
Throws:
IOException

write

public void write(char[] c,
                  int off,
                  int len)
           throws IOException
Specified by:
write in class Writer
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in class Writer
Throws:
IOException

flush

public void flush()
           throws IOException
Specified by:
flush in class Writer
Throws:
IOException