Package xnap.plugin.nap.net

Examples of xnap.plugin.nap.net.GlobalUser


      removeProperty("hotlistTableColumns");

      LinkedList l
    = StringHelper.toList(get("bannedUsers"), ARRAY_SEPARATOR);
      for (Iterator i = l.iterator(); i.hasNext();) {
    GlobalUser u = new GlobalUser(i.next().toString(), false);
    u.setMaxUploads(0);
    u.setCategory(XNap.tr("Banned"));
    UserManager.getInstance().add(u);
      }
      removeProperty("bannedUsers");

      QuotedStringTokenizer t
    = new QuotedStringTokenizer(get("hotlistUsers"));
      while (t.hasMoreTokens()) {
    GlobalUser u = new GlobalUser(t.nextToken(), false);
    UserManager.getInstance().add(u);
      }
      UserManager.getInstance().write();
      removeProperty("hotlistUsers");
  }
View Full Code Here

TOP

Related Classes of xnap.plugin.nap.net.GlobalUser

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.