java.io
Class OutputStreamWriter
java.lang.Object
java.io.Writer
java.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
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
se
private final sun.nio.cs.StreamEncoder se
OutputStreamWriter
public OutputStreamWriter(OutputStream,
String)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
OutputStreamWriter
public OutputStreamWriter(OutputStream)
OutputStreamWriter
public OutputStreamWriter(OutputStream,
Charset)
OutputStreamWriter
public OutputStreamWriter(OutputStream,
CharsetEncoder)
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 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.