java.io
Class Writer
java.lang.Object
java.io.Writer
- Direct Known Subclasses:
- LejosOutputStreamWriter
public abstract class Writer
- extends Object
Basic Writer implementation. In contrast to the JDK, this class is NOT synchronized.
- Author:
- Sven Köhler
Constructor Summary |
protected |
Writer()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Writer
protected Writer()
append
public Writer append(char c)
throws IOException
- Throws:
IOException
append
public Writer append(CharSequence str)
throws IOException
- Throws:
IOException
append
public Writer append(CharSequence str,
int start,
int end)
throws IOException
- Throws:
IOException
close
public abstract void close()
throws IOException
- Throws:
IOException
flush
public abstract void flush()
throws IOException
- Throws:
IOException
write
public void write(char[] c)
throws IOException
- Throws:
IOException
write
public abstract void write(char[] c,
int off,
int len)
throws IOException
- Throws:
IOException
write
public void write(int c)
throws IOException
- Throws:
IOException
write
public void write(String str)
throws IOException
- Throws:
IOException
write
public void write(String str,
int off,
int len)
throws IOException
- Throws:
IOException