|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.relayirc.chatengine.ServerList
A list of IRC servers that can be constructed by reading a MIRC servers.ini file. TODO: Finish exportMircFile()
Constructor Summary | |
ServerList()
Construct empty server list. |
|
ServerList(java.io.File file)
Construct server list from MIRC servers.ini file. |
|
ServerList(java.util.Vector servers)
Construct server list from vector of servers. |
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Property change support. |
void |
addServer(Server svr)
Add server to user's list of IRC servers. |
void |
exportMircFile(java.lang.String fileName)
Export server list file to MIRC format - NOT IMPLEMENTED. |
Server |
getServerAt(int index)
|
int |
getServerCount()
|
java.util.Vector |
getServers()
|
void |
importMircFile(java.io.File file)
Import a MIRC format servers file. |
static java.lang.String |
intArrayToString(int[] intArray)
Convert integer array to a string. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Property change support. |
void |
removeServer(Server svr)
Remove server from user's list of IRC servers. |
static int[] |
stringToIntArray(java.lang.String intList)
Convert string to an integer array. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ServerList()
public ServerList(java.util.Vector servers)
servers
- Vector of servers.public ServerList(java.io.File file)
fileName
- Name of file to read.Method Detail |
public int getServerCount()
public Server getServerAt(int index)
public java.util.Vector getServers()
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
public void addServer(Server svr)
public void removeServer(Server svr)
public void importMircFile(java.io.File file)
public static java.lang.String intArrayToString(int[] intArray)
public static int[] stringToIntArray(java.lang.String intList)
public void exportMircFile(java.lang.String fileName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |