-
Notifications
You must be signed in to change notification settings - Fork 9
core.List
Logan Rickert edited this page Jan 14, 2017
·
2 revisions
Sends a list of files in a directory to the given client.
Package: core
List cmd = new List(clients[findClient(id)]);
cmd.executeCommand();Parameters:
-
client- The connected client that you want to send a list of files to.
Private:
JFilesServerThread client
Sends the String "list directory contents" to client.
Executes the listing of directories and sending to client. Calls listCmd().
Lists all the files in dir and sends the full path to the client. An example would be:
/home/gnome/jfiles/test.txt
Can throw an IOException. Exception is caught within the method.
- Home
- Course-Related Materials
- Development Environment
- Development Workflow
- Packages
- Guides
- Team Pages