Manage Mock Filesystem Java Problem Create Code Manage Directory Tree Provide User Basic S Q37123887

Manage a Mock FileSystem in JAVA
In this problem you will create code to manage a directory tree andprovide the user with a basic subset of commands for doing so. Wewill model this assignment on the Unix command line.

There are two things to keep track of: the directory treestructure and the current directory that the user is in. Initially,there is only the root directory, which has the empty string forits name. The user may create subdirectories of the currentdirectory (i.e., children) by issuing “mkdir” command; deletesubdirectories by issuing “rmdir” command; and change the currentdirectory to a subdirectory by issuing a “cd”

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.