@@ -0,0 +1,1078 @@
+package torrenthandlers;%0A%0Aimport java.util.ArrayList;%0A%0Apublic class BaseTorrentHandler %7B%0A%09public class TorrentFile %7B%0A%09%09public String hash;%0A%09%09public String name;%0A%09%09public String status;%0A%09%09public String savepath;%0A%09%09public long size;%0A%09%09public float percent;%0A%09%09public long downloaded;%0A%09%09public long uploaded;%0A%09%09public float ratio;%0A%09%09public long dl;%0A%09%09public long ul;%0A%09%09public long eta;%0A%09%09public long peers_connected;%0A%09%09public long peers_total;%0A%09%09public long seeds_connected;%0A%09%09public long seeds_total;%0A%09%7D;%0A%09%0A%09public ArrayList%3CTorrentFile%3E files;%0A%09%0A%09public boolean login(String username, String password, String server, String port) %7B%0A%09%09return true;%0A%09%7D%0A%09%0A%09public boolean updateFileList() %7B%0A%09%09if(files != null) %7B%0A%09%09%09files.clear();%0A%09%09%7D else %7B%0A%09%09%09files = new ArrayList%3CTorrentFile%3E();%0A%09%09%7D%0A%09%09%0A%09%09return true;%0A%09%7D%0A%09%0A%09public boolean addURL(String url) %7B%0A%09%09return true;%0A%09%7D%0A%09%0A%09public void start(TorrentFile which) %7B%7D%0A%09public void pause(TorrentFile which) %7B%7D%0A%09public void stop(TorrentFile which) %7B%7D%0A%09public void removeAndDelete(TorrentFile which) %7B%7D%0A%09public void remove(TorrentFile which) %7B%7D%0A%7D%0A

Create BaseTorrentHandler.java