Class stub

pull/1/head
Louis Royer 5 years ago
parent 49ece737ea
commit 2f202812c8

@ -0,0 +1,10 @@
package client;
public class Client {
public Client() {
}
public static void main(String [] args) {
Client c = new Client("client");
}
}

@ -0,0 +1,17 @@
package client;
import exception.NotFound;
public class ClientManagment {
private String baseDirectory;
public ClientManagment(String baseDirectory) {
this.baseDirectory = baseDirectory;
}
public void download(String filename) throws NotFound {
}
public String listDirectory() {
}
}

@ -0,0 +1,2 @@
package exception;
public class NotFound extends Exception {}

@ -0,0 +1,12 @@
package Server;
public class Server {
public Server() {
}
public static void main(String [] args) {
Server s = new Server("server");
}
}

@ -0,0 +1,22 @@
package server;
import exception.NotFound;
import java.util.Vector;
public class ServerManagement {
private Vector<String> fileList;
private String baseDirectory;
public ServerManagement(String baseDirectory) {
this.baseDirectory = baseDirectory;
fileList = new Vector<String>;
initFileList();
}
public void upload(String filename) throws NotFound {
}
public String listDirectory() {
}
}
Loading…
Cancel
Save