Lecture 6
11
TextFile.java
•private fields
–owner, create and mod date, contents (lines 22-25)
•public methods (API) - see javadoc
–TextFile( String owner, String  contents) // constructor
–getContents(), setContents(String newContents )
–getSize(), getCreateDate(), getModDate(), getOwner()
–append(String text), appendLine(String text)
•public main for unit testing