public abstract class Writer extends Object
Modifier | Constructor and Description |
---|---|
protected |
Writer()
Writer
|
protected |
Writer(Object obj)
Writer
|
Modifier and Type | Method and Description |
---|---|
abstract void |
close() |
abstract void |
flush() |
void |
write(char[] ac) |
abstract void |
write(char[] ac,
int i,
int j) |
void |
write(int i) |
void |
write(String s) |
void |
write(String s,
int i,
int j) |
protected Object lock
protected Writer()
protected Writer(Object obj)
obj
- ?public abstract void close() throws IOException
IOException
- ?public abstract void flush() throws IOException
IOException
- ?public void write(int i) throws IOException
i
- ?IOException
- ?public void write(String s) throws IOException
s
- ?IOException
- ?public void write(String s, int i, int j) throws IOException
s
- ?i
- ?j
- ?IOException
- ?public void write(char[] ac) throws IOException
ac
- ?IOException
- ?public abstract void write(char[] ac, int i, int j) throws IOException
ac
- ?i
- ?j
- ?IOException
- ?