|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.BufferedWriter
public class BufferedWriter
This is a minimal implementation of BufferedWriter. Normally BufferedWriter extends the abstract class Writer. The main reason for NXJ including this is to allow the new-line character in text. NOTE: Text writing is not synchronized either like standard Java.
| Constructor Summary | |
|---|---|
BufferedWriter(OutputStream out)
In the standard Java API the constructor accepts a Writer object, such as OutputStreamWriter. |
|
| Method Summary | |
|---|---|
void |
flush()
|
void |
newLine()
Writes char(13) to the destination. |
void |
write(String s)
Currently does not translate ASCII escape sequences like \n into the appropriate character. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BufferedWriter(OutputStream out)
out - | Method Detail |
|---|
public void write(String s)
throws IOException
s -
IOException
public void newLine()
throws IOException
IOException
public void flush()
throws IOException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||