tigase.util
Class DNSResolver

java.lang.Object
  extended by tigase.util.DNSResolver

public class DNSResolver
extends java.lang.Object

Describe class DNSResolver here. Created: Mon Sep 11 09:59:02 2006

Version:
$Rev$
Author:
Artur Hefczyc

Constructor Summary
DNSResolver()
           
 
Method Summary
static java.lang.String getDefaultHostname()
          Method description
static java.lang.String[] getDefHostNames()
          Method description
static java.lang.String getHostIP(java.lang.String hostname)
          Method description
static DNSEntry[] getHostSRV_Entries(java.lang.String hostname)
          Method description
static DNSEntry getHostSRV_Entry(java.lang.String hostname)
          Method description
static java.lang.String getHostSRV_IP(java.lang.String hostname)
          Method description
static void main(java.lang.String[] args)
          Describe main method here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DNSResolver

public DNSResolver()
Method Detail

getDefHostNames

public static java.lang.String[] getDefHostNames()
Method description

Returns:

getDefaultHostname

public static java.lang.String getDefaultHostname()
Method description

Returns:

getHostIP

public static java.lang.String getHostIP(java.lang.String hostname)
                                  throws java.net.UnknownHostException
Method description

Parameters:
hostname -
Returns:
Throws:
java.net.UnknownHostException

getHostSRV_Entries

public static DNSEntry[] getHostSRV_Entries(java.lang.String hostname)
                                     throws java.net.UnknownHostException
Method description

Parameters:
hostname -
Returns:
Throws:
java.net.UnknownHostException

getHostSRV_Entry

public static DNSEntry getHostSRV_Entry(java.lang.String hostname)
                                 throws java.net.UnknownHostException
Method description

Parameters:
hostname -
Returns:
Throws:
java.net.UnknownHostException

getHostSRV_IP

public static java.lang.String getHostSRV_IP(java.lang.String hostname)
                                      throws java.net.UnknownHostException
Method description

Parameters:
hostname -
Returns:
Throws:
java.net.UnknownHostException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Describe main method here.

Parameters:
args - a String[] value
Throws:
java.lang.Exception


Copyright © 2001-2006 Tigase Developers Team. All rights Reserved.