|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.minetti.astrodevice.server.core.About
public final class About
Informations about server (singleton).
| Method Summary | |
|---|---|
String |
getApplicationName()
Returns the application name. |
String |
getApplicationVersion()
Returns the application version. |
String |
getHomeDirectory()
Returns the home directory of application. |
String |
getHostname()
Returns the hostname where astroDeviceServer is hosted. |
static About |
getInstance()
Returns the singleton instance. |
String |
getProtocolVersion()
Returns the version of communication protocol between clients and server. |
void |
load()
Loads all informations about server from src/main/resources/astroDeviceServer.properties. |
protected void |
load(String filename)
Loads all informations about server from properties file. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public void load()
protected void load(String filename)
filename - Name of properties file.public static About getInstance()
public String getApplicationName()
public String getApplicationVersion()
public String getProtocolVersion()
public String getHomeDirectory()
public String getHostname()
public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||