ishitai.oopad
Class TXTdata

java.lang.Object
  |
  +--ishitai.oopad.TXTdata

public class TXTdata
extends java.lang.Object
implements Data

TXTdata.java Created: Wed Sep 01 21:09:04 1999


Constructor Summary
TXTdata()
           
 
Method Summary
 void close()
          Cleans up the resources used by this class.
 java.lang.String getFilename()
          Accessor to path+name of the file connected to this data
 java.lang.String open()
          Opens the file and loads it into a String
 boolean readOnly()
          Accessor to readOnly.
 java.lang.String showLicense()
           
 void write(java.lang.String textfile)
          Writes the contents of the editor's textarea to the file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TXTdata

public TXTdata()
Method Detail

getFilename

public java.lang.String getFilename()
Accessor to path+name of the file connected to this data

readOnly

public boolean readOnly()
Accessor to readOnly.

open

public java.lang.String open()
Opens the file and loads it into a String
Specified by:
open in interface Data

showLicense

public java.lang.String showLicense()

write

public void write(java.lang.String textfile)
Writes the contents of the editor's textarea to the file.
Specified by:
write in interface Data
Parameters:
textfile - The String from the TextArea.

close

public void close()
Cleans up the resources used by this class.
Specified by:
close in interface Data