rero.dialogs.server
Class ServerData
java.lang.Object
rero.dialogs.server.ServerData
- public class ServerData
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data
protected static ServerData data
allServers
protected ServerGroup allServers
randomServers
protected ServerGroup randomServers
groups
protected TreeMap groups
groupModel
protected ArrayList groupModel
active
protected ServerGroup active
ServerData
protected ServerData()
getServerByName
public Server getServerByName(String host)
getServerData
public static ServerData getServerData()
setActive
public void setActive(ServerGroup a)
update
public void update()
getGroups
public ArrayList getGroups()
getAllServers
public ArrayList getAllServers()
getServers
public ArrayList getServers()
getGroup
public ServerGroup getGroup(String name)
addServer
public void addServer(Server server)
sort
public void sort()
removeServer
public void removeServer(Server server)
buildGroupList
public void buildGroupList()
load
public void load()
save
public void save()
main
public static void main(String[] args)