|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.nshmp.util.Versioner
public class Versioner
| Constructor Summary | |
|---|---|
Versioner()
Constructor: Sets the values of version, updates, and connection |
|
| Method Summary | |
|---|---|
boolean |
check()
Returns the value of connection |
String |
getAllUpdates()
Returns the HTML formatted list of all updates |
String |
getClientVersion()
Returns the full client version string. |
String |
getClientVersionNumber()
Return the client version string without the 'Version: ' prepended to the number |
String |
getServerVersion()
Returns the full server version string. |
String |
getServerVersionNumber()
Return the server version string without the 'Version: ' prepended to the number |
String |
getUpdateMessage()
Creates the message to give the user when their client is out of date |
String |
getUpdates()
Returns the HTML formatted list of recent updates |
boolean |
versionCheck()
Checks the version of the client the user is running against what the server knows to be the most recent version and returns as appropriate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Versioner()
| Method Detail |
|---|
public boolean check()
public String getUpdates()
public String getAllUpdates()
public String getClientVersion()
public String getServerVersion()
public String getClientVersionNumber()
public String getServerVersionNumber()
public boolean versionCheck()
public String getUpdateMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||