ccc.commons
Class Environment

java.lang.Object
  extended by ccc.commons.Environment

public class Environment
extends java.lang.Object

Helper class used to describe the server environment.

Author:
Civic Computing Ltd.

Constructor Summary
Environment()
           
 
Method Summary
static java.lang.String getHostname()
          Query the hostname for this server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Environment

public Environment()
Method Detail

getHostname

public static java.lang.String getHostname()
Query the hostname for this server.

Returns:
The server's hostname, as a string.


Copyright © 2010. All Rights Reserved.