class HostnamePort {

    public static String getHostAddress( String host, String defaultHost )
    {
        if ( host == null )
        {
            return defaultHost;
        }
        else
        {
            return host;
        }
    }

    public  HostnamePort( String hostnamePort );
    public  HostnamePort( String host, int port );
    public  HostnamePort( String host, int portFrom, int portTo );

}