-
Notifications
You must be signed in to change notification settings - Fork 9
List Function
kryan100 edited this page Dec 5, 2016
·
1 revision
The list function currently only has a simple implementation that prints directory contents of the working directory of the (JFilesClient?JFilesServer?List class?). This is done by getting the working directory through System.getProperty("user.dir") and then passing it to a directory stream to iterate through each file. A string name of each file is sent one by one to the client.
For future use the List function should be altered to list the contents of a directory supplied as a parameter(instead of System.getProperty("user.dir")) to the executeCommand() method of the List class. This will be crucial for the GUI to properly display the contents of specified directories.
- Home
- Course-Related Materials
- Development Environment
- Development Workflow
- Packages
- Guides
- Team Pages