1234567891011121314151617181920 |
- import java.io.*;
- public class IOboy
- {
-
- private String fileName;
- TextIO test = new TextIO();
- public IOboy() throws IOException {
- this.fileName = "READMEEP.txt";
- }
-
- public void doIt() throws IOException{
- System.out.println(test.writeDouble(8.0, 5, 2));
- test.create(fileName);
- BufferedReader buff = test.open(fileName);
- System.out.println(buff.readLine());
- System.out.println(test.readString(buff));
- }
-
- }
|