JML

java.io
Class OutputStreamWriter

java.lang.Object
  extended byjava.io.Writer
      extended byjava.io.OutputStreamWriter
All Implemented Interfaces:
Appendable, Closeable, Flushable
Direct Known Subclasses:
FileWriter

public class OutputStreamWriter
extends Writer


Field Summary
private  sun.nio.cs.StreamEncoder se
           
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
OutputStreamWriter(OutputStream)
           
OutputStreamWriter(OutputStream, String)
           
OutputStreamWriter(OutputStream, Charset)
           
OutputStreamWriter(OutputStream, CharsetEncoder)
           
 
Method Summary
 void close()
           
 void flush()
           
(package private)  void flushBuffer()
           
 String getEncoding()
           
 void write(char[], int, int)
           
 void write(int)
           
 void write(String, int, int)
           
 
Methods inherited from class java.io.Writer
append, append, append, append, append, append, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

se

private final sun.nio.cs.StreamEncoder se
Constructor Detail

OutputStreamWriter

public OutputStreamWriter(OutputStream,
                          String)
                   throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

OutputStreamWriter

public OutputStreamWriter(OutputStream)

OutputStreamWriter

public OutputStreamWriter(OutputStream,
                          Charset)

OutputStreamWriter

public OutputStreamWriter(OutputStream,
                          CharsetEncoder)
Method Detail

getEncoding

public String getEncoding()

flushBuffer

void flushBuffer()
           throws IOException
Throws:
IOException

write

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

write

public void write(char[],
                  int,
                  int)
           throws IOException
Throws:
IOException

write

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

flush

public void flush()
           throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.