rero.dialogs.server
Class Server

java.lang.Object
  extended byrero.dialogs.server.Server
All Implemented Interfaces:
Comparable

public class Server
extends Object
implements Comparable


Field Summary
protected  String compare
           
protected  String description
           
protected  String host
           
protected static Pattern isServerNormal
           
protected static Pattern isServerPassword
           
protected  boolean isSSL
           
protected  String network
           
protected  String password
           
protected  String portRange
           
 
Constructor Summary
Server()
           
Server(String d, String h, String r, String n, boolean s, String p)
           
 
Method Summary
 int compareTo(Object o)
           
static Server decode(String text)
           
 String getCommand()
           
 String getCompare()
           
 String getConnectPort()
           
 String getDescription()
           
 String getHost()
           
 String getNetwork()
           
 String getPassword()
           
 String getPorts()
           
 boolean isRandom()
           
 boolean isSecure()
           
 void setValues(String d, String h, String r, String n, boolean s, String p)
           
 String toString()
           
 String toString(int x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

isServerPassword

protected static Pattern isServerPassword

isServerNormal

protected static Pattern isServerNormal

description

protected String description

host

protected String host

portRange

protected String portRange

network

protected String network

isSSL

protected boolean isSSL

password

protected String password

compare

protected String compare
Constructor Detail

Server

public Server()

Server

public Server(String d,
              String h,
              String r,
              String n,
              boolean s,
              String p)
Method Detail

setValues

public void setValues(String d,
                      String h,
                      String r,
                      String n,
                      boolean s,
                      String p)

toString

public String toString()

isRandom

public boolean isRandom()

getCompare

public String getCompare()

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

getPassword

public String getPassword()

getPorts

public String getPorts()

getHost

public String getHost()

getConnectPort

public String getConnectPort()

isSecure

public boolean isSecure()

getDescription

public String getDescription()

getNetwork

public String getNetwork()

getCommand

public String getCommand()

toString

public String toString(int x)

decode

public static Server decode(String text)