ishitai.oopad
Interface Data

All Known Implementing Classes:
TXTdata

public interface Data

Data.java Created: Thu Sep 02 12:12:36 1999


Method Summary
 void close()
          Closes a file and its related resources
 java.lang.String open()
          Opens and reads an entire text file into a String
 void write(java.lang.String textfile)
          Writes a text file to disk
 

Method Detail

open

public java.lang.String open()
Opens and reads an entire text file into a String

write

public void write(java.lang.String textfile)
Writes a text file to disk
Parameters:
textfile - The entire text file to be written from the TextArea

close

public void close()
Closes a file and its related resources