I need to modify the class CodeVisitor to accept a command line option -k to specify a keyword so it displays the names and sizes of all the files, whose names contain the given keyword in a given directory or directories. CodeVisitor currently uses the following command line options: -r, -d, -f and they should remain as they are now. CodeVisitor subclasses FileVisitor and code for these classes is given here http://cartan.cas.suffolk.edu/oopdocbook/html/filevisiting.html including a driver client to demonstrate usage
Comments
Leave a comment