|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectblrevcomp.BufferedTextOutputFile
public class BufferedTextOutputFile
Types and methods for safely opening or closing an output file for writing lines of text.
| Field Summary | |
|---|---|
java.io.BufferedWriter |
BW
|
java.io.File |
F
|
java.io.FileWriter |
FW
|
| Constructor Summary | |
|---|---|
BufferedTextOutputFile()
|
|
| Method Summary | |
|---|---|
void |
write(java.lang.String S)
Write a string to a file |
void |
writeChar(char CH)
Write a character to a file. |
void |
writeChar(java.lang.Character CH)
|
void |
writeln(java.lang.String S)
Write a line to a file, terminated by a newline character |
boolean |
WriteOkay(java.lang.String S)
Open file and create FileWriter and BufferedWriter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.io.File F
public java.io.FileWriter FW
public java.io.BufferedWriter BW
| Constructor Detail |
|---|
public BufferedTextOutputFile()
| Method Detail |
|---|
public boolean WriteOkay(java.lang.String S)
S - String containing name of file to be openedpublic void writeChar(char CH)
public void writeChar(java.lang.Character CH)
public void write(java.lang.String S)
public void writeln(java.lang.String S)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||