Model.java :  » Game » galatichero » net » narusas » daumaccess » Java Open Source

Java Open Source » Game » galatichero 
galatichero » net » narusas » daumaccess » Model.java
package net.narusas.daumaccess;

import java.io.IOException;

public class Model {
  public Accounts accounts;

  public ProxyPool proxyPool;

  public Tasks tasks;

  public Prefs pref;

  public void setup(String path) throws IOException {
    if (path.endsWith("\\") == false) {
      path = path + "\\";
    }
    accounts = new Accounts(path);
    proxyPool = new ProxyPool();
    proxyPool.start();
    tasks = new Tasks(path + "tasks.txt");
    pref = new Prefs();
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.