A G M S T

A

append(String) - Method in class TextFile
Append text to the end of the file.
appendLine(String) - Method in class TextFile
Append a new line of text to the end of the file.

G

getContents() - Method in class TextFile
The contents of a file.
getCreateDate() - Method in class TextFile
The data and time of the file's creation.
getModDate() - Method in class TextFile
The date and time of the file's last modification.
getOwner() - Method in class TextFile
The file's owner.
getSize() - Method in class TextFile
The size of a file.

M

main(String[]) - Static method in class TextFile
A definition of main(), used only for testing this class.

S

setContents(String) - Method in class TextFile
Replace the contents of the file.

T

TextFile - class TextFile.
A TextFile mimics the sort of text file that one finds on a computer's file system.
TextFile(String, String) - Constructor for class TextFile
Construct a new TextFile with given owner and contents; set the creation and modification dates.

A G M S T