•Directory
should store TextFiles and Directories
•Directory
and TextFile both have
–owner,
create/mod date (same meaning)
–size,
contents (different meanings)
•Directory
has methods to add to, get from and loop on its contents (the
TreeMap of files in it)
•TextFile
has methods to manipulate its text
•Can
we write these classes without copying code?